Not working. When I go to i18n.php // method translate:
debug($_this):
I get:
I18n Object
(
[l10n] => L10n Object
(
[language] => English (United States)
[languagePath] => Array
(
[0] => eng
)
[lang] => eng
[locale] => en_us
[default] =>
[charset] => utf-8
[direction] => ltr
[found] =>
[__l10nMap] => Array
WTF?? :( (this is AFTER setting Config.language)
2010/12/6 100rk <[email protected]>
> > I have in locale/esp/LC_MESSAGES/default.po:
>
> locale/spa/LC_MESSAGES/default.po
>
> > $this->Session->write('Config.language', 'esp');
> > Configure::write('Config.language', 'esp');
>
> $this->Session->write('Config.language', 'es');
> Configure::write('Config.language', 'es');
>
> https://github.com/cakephp/cakephp/blob/master/cake/libs/l10n.php#L231
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en