OK, thank you Leo!

I know your point 2.
When I use the "i18n" script, I select the good path to my locale:
"myapp/locale/fre/LC_MESSAGES/default.po"

But why the script write ".pot" files instead of ".po"? This is not
handy to rename all of ".pot" files...
And even if I rename the ".pot" to ".po", my translations are not
displayed.

So I repeat my question: must I put all translated strings in
"default.po" files?

Hope this message is understandable...

BR

Avairet


On 22 fév, 16:17, leo <[EMAIL PROTECTED]> wrote:
> 1. change all the .POT extensions to .po
> 2. each language file should reside in its own directory named
> according tohttp://api.cakephp.org/1.2/l10n_8php-source.html#l00180
> use the 'locale' value e.g Spain = 'locale' => 'spa', Catalan =
> 'locale' => 'cat'
>
> so I have:
>     app/locale/cat/LC_MESSAGES/default.po
>     app/locale/spa/LC_MESSAGES/default.po
>
> 3. there is a good reference 
> here:http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persis...
>
> Good luck!
>
> On 22 feb, 15:18, avairet <[EMAIL PROTECTED]> wrote:
>
> > Hi everybody,
>
> > I'm using Cake "i18n" console script to extract all strings to
> > translate.
> > There are 2 options for extract: one file or multiple file.
>
> > To improve translation and avoid to scroll an enormous file, I choose
> > "multiple file", but after files generation, how specify to Cake using
> > all my ".POT files" instead of an only one "default.po" file?
>
> > Because if my translations are not in "default.po" file, they are not
> > displayed in my app...
> > I'm using Cake 1.2.x.x nighlty builds
>
> > Sorry for my simple English.
>
> > Avairet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to