On Mar 10, 2:25 am, "jitka (poLK)" <[email protected]> wrote:
> > I have created two test languages in:
> > /app/locale/eng/LC_MESSAGES/default.php
> > /app/locale/fre/LC_MESSAGES/default.php
>
> php extension is reason. CakePHP assumes there plaintext .po (or
> preferrable binary .mo) files.
Yeah that was a mistake in my email. The files are already ".po" files
in plaintext. The content is as follows (in the english one):
msgid "test"
msgstr "The Test"
Both my testing language work fine when setting the language in
core.php, but I can't switch away from the default language in the
application controller.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---