>
>
> 5) Change the extension of the result file from .pot to .po so that
> you can open it with Poedit.
>
You do not change the extension to .po.
Poedit will open this as a template file using the settings for the specific
language you are translating to.
Look for: File > New catalog from POT f
Forget about my previous post, it's completely mistaken.
Ok, I found a way to get .po files.
1) You have to type : "cake i18n extract" or "cake/console/cake i18n
extract"
2) Once you get :
> Welcome to CakePHP v1.2.4.8284 Console
> ---
Ok, I found a way to get .po files.
1) You have to type : "cake i18n extract" or "cake/console/cake i18n
extract"
2) Once you get :
> Welcome to CakePHP v1.2.4.8284 Console
> ---
> App : app
> Path: /Users/thomaus/Sites/MyApp/app
> -
Thanks,
For 1:
I tried what you said and I get exactly the same, i.e. :
Welcome to CakePHP v1.2.4.8284 Console
---
App : app
Path: /Users/thomas/Sites/MyApp/app
---
What is the
Hi,
For 1:
If Cake has trouble figuring out where your app is (for some reason).
The simple workaround is to specify it with the full path:
/Users/thomaus/Sites/MyApp/cake/consol/cake -app /Users/thomaus/Sites/
MyApp/app i18n extract
That is the foolproof and disgustingly verbose way of making s
Hi,
Thanks for your answer.
1) I tried to do "../cake/consol/cake i18n extract" from my /MyApp/
app/ path and it says:
Welcome to CakePHP v1.2.4.8284 Console
---
App : app
Path: /Users/thomas/Sites/MyApp/app
Ignore this section in the manual it in incorrect:
"Remember that po files are useful for short messages, if you find you want
to translate long paragraphs, or even whole pages - you should consider
implementing a different solution. e.g.:"
http://cakedc.com/ uses entire paragraphs.
http://cakeq
Hi there,
One month ago, I did a multilanguage website using CakePHP but putting
all the multilangual content in my dB.
>From what I read today, this was the right way to display short
messages in various languages with CakePHP :
http://book.cakephp.org/view/162/Internationalizing-Your-Applicatio