[email protected]
[Top] [All Lists]

Re: Multilingual website - Entries in .po file

Subject: Re: Multilingual website - Entries in .po file
From: cricket
Date: Thu, 31 Mar 2011 00:35:05 -0400
On Thu, Mar 31, 2011 at 12:19 AM,  <[email protected]> wrote:
> Hi
> I tried searching on this a lot. I want to make my website multilingual. So 
> say for french, I wrote the following entry in the default.po file for fre:
> msgid "Hello"
> msgstr "Bonjour"
> Now, the issue I am facing is that I'm unable to add more entries here. I 
> tried,
> msgid "Hello" "str2"
> msgstr "Bonjour" "translation for str2"
> I tried comma separated too. I tried providing another set of msgid n msgstr 
> pair in the next line. But none of that worked.
> Can anybody tell me how to add to this list?

You need separate msgid, msgstr pairs for each translation.

msgid "Hello"
msgstr "Bonjour"

msgid "Goodbye"
msgstr "Au revoir"

Our newest site for the community: CakePHP Video Tutorials 
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 

<Prev in Thread] Current Thread [Next in Thread>