Hi there, I'm trying since days now, to get familiar with the single/multilanguage support in Silverstripe. The Backend was no Problem. Page Types I added with lang folder and de_DE.php and en_US.php files are translated correctly to the chosen backend language. But in the frontend it doesn't seem to work.
First I did nothing to my _config.php and so in every module english was chosen (testing with event_calender and image_galary).
After adding the following three lines (also tried all other combinations with only one or two lines) I recieved a language Dropdown in the Backend which was set to english.
changing the dropdown to german resulted in an empty Pagetree. I then changed all locale entries inside the database to de_DE and now I have the Full Sitetree under german and english is empty. Fine, that's working, but the modules do not seem to be translated. I added a de_DE.php to the image_galary but that didn't work. Making changes to the en_US.php which are not shown in the frontend tell me, that the translation file isn't taken by silverstripe and it uses the default Text (second argument of _t()).
Do I have to set another parameter to activate the translation in the frontend or are these three lines enough and there might be some other issues?