i use the 2.2.1 version of silverstripe.
has someone ever really implemented a proper i18n-page with silverstripe? i have serious problems with it:
where do you implement the mapping logic for mapping the language (en, de, fr etc.) to the locale (en_US, en_UK, de_DE, de_CH, fr_FR etc.)?
i guess one has to map de->de_DE or fr->fr_FR for example if you want to have german and french content and user interface...
i tried to implement the mapping in the init() method of Page_Controller in Page.php, but then some parts of the website don't get the right locale (for example when i try to recover my password and i type in a wrong email address, i get only en_US error messages...).
the i18n documentation is kind of poor so it only tells how to set the locale and read the locale, but doesnt say anything about how EXACTLY and WHERE EXACTLY to implement the i18n logic of switching languages...
can someone help?