Re: [symfony-users] Re: Symfony2 and Translation

2010-11-17 Thread noel guilbert
It does not work because you're trying to load the locale named en, which is different of en_US or en_EN. That's why your translations are not loaded. There's no such default locale thing that would load en when en_US does not exist. ++ On Mon, Nov 15, 2010 at 7:21 PM, Bertrand Zuchuat

[symfony-users] Re: Symfony2 and Translation

2010-11-17 Thread Florian
Yes there is. When a translation does not exist for a locale, the translator tries to find the translation for the language (fr when the locale is fr_FR for instance); if it also fails, it looks for a translation for the fallback locale. quote from

[symfony-users] Re: Symfony2 and Translation

2010-11-15 Thread HTC
Hi, I had a similar issue and solve by renaming the translation files in messages.en_EN.php messages.de_DE.php messages.en_US.php but still don't know why it doesn't work with just 'en'. Bye -- Alberto On Nov 14, 6:04 pm, Bertrand Zuchuat mailingl...@funstaff.ch wrote: Hi, I would like to

Re: [symfony-users] Re: Symfony2 and Translation

2010-11-15 Thread Bertrand Zuchuat
Hi, Thanks for your answer. This solution work but it's strange. Bertrand Le 15 nov. 2010 à 15:05, HTC a écrit : I had a similar issue and solve by renaming the translation files in messages.en_EN.php messages.de_DE.php messages.en_US.php but still don't know why it doesn't work with