Oh, and it seems "uses('L10n');" is also not needed?
On Mon, Jan 24, 2011 at 12:06 PM, psybear83 <[email protected]> wrote:
> Hey everybody
>
> I'm currently doing l10n for my web. I have browsed through some
> articles, and their alltogehter-verdict was:
>
> - Put "uses('L10n');" into your AppController.
> - Put "Configure::write('Config.language', 'de');" into your
> bootstrap.php File
> - Change the display language by setting the session key which
> overrides the configuration setting
>
> So far, so good. Everything seems to work, except the
> "Configure::write('Config.language', 'de');"!
>
> I have 3 languages: german (de), french (fr) and italian (it). And for
> some reason the default language always is italian, regardless of the
> Configure::write(..) setting! Very strange.
>
> my locale folder looks like so:
>
> locale/
> locale/deu/
> locale/deu/LC_MESSAGES/
> locale/deu/LC_MESSAGES/default.po
> locale/fre/
> locale/fre/LC_MESSAGES/
> locale/fre/LC_MESSAGES/default.po
> locale/ita/
> locale/ita/LC_MESSAGES/
> locale/ita/LC_MESSAGES/default.po
>
> Any ideas?
>
> Thanks, Josh
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at
> http://groups.google.com/group/cake-php
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php