I have a two-language Silverstripe website, created with the multilangual functionality.
One menu-item and all of its sub-items is only available in the original language.
For the other language, I was thinking of creating a Virtual Page that linked to the menu-item in the original language, so that all the sub-pages would still show in the menu.
In the dropdown of the virtual page I can however only choose from the pages in that particular language. Is there any way to get around this and create a virtual page that links to another language?
i was (or still am) in the exact same position.
My workaround so far is, to add custom DB fields for the pages. You have to kind of extend the TranslationGroupID functionality here.
So what i did, was to add DB Fields which add holds a "MasterPageID" (the ID of the Page in your default language) and a simple Boolean Field which just holds the information if this page is linked to its MasterPage. (I managed that with a checkbox in the backend.)
In the init() function of my page, i have a simple if statement which checks if this current page is linked to another page, if yes -> get the content of that page and replace it with the current page content.