K3 wrote:
> What i would like to do is to allow the client to change msgid and
> msgstr in the .po file and geneerate .mo file. This way they can
> update translation withouth asking me to change .po/.mo files manualy.
> While .po file is plain text and its easy to update it, i coudlnt find
> a way to generate .mo file from updated .po file.
>
>   
Hi K3,

If you're hosting on a GNU/Linux server you can install gettext and use 
something like:

exec('/path/to/msgfmt /path/to/input/default.po -o 
/path/to/output/default.mo');

I did not actually tried this, but it should work.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to