[Cartoweb-users] Translation process.

Oliver Christen oliver.christen at camptocamp.com
Tue Sep 30 02:09:53 EDT 2008


hi

i suspect this is caused because you inputed utf8 string into the .po but 
they have an iso header.
check that all your po contain "Content-Type: text/plain; charset=utf-8\n"
and not "Content-Type: text/plain; charset=iso-8859-1\n"

when generating the .po with client2pot and server2pot, be sure the 
EncoderClass.config in your client.ini is set to utf8

regards
Oliver



> Following these steps,when i call
> php po2mo.php <myproject> ,at some point i get the following message.
>
>
> Fatal error: Uncaught exception 'InstallException' with message 'Failure 
> while l
> aunching 
> "msgcat --to-code=utf-8 --use-first --output="C:\ms4w\apps\cartoweb3/pr
> ojects/volos_info/po/volos_info.el.po" 
> "C:\ms4w\apps\cartoweb3/projects/volos_in
> fo/po/volos_info.el.po" 
> "C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el
> .po"" (output is (null): 
> C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el
> .po:37:9: invalid multibyte sequence
> (null): C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el.po:37:10: 
> invali
> d multibyte sequence
> (null): C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el.po:37:11: 
> invali
> d multibyte sequence
> (null): C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el.po:37:12: 
> invali
> d multibyte sequence
> (null): C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el.po:37:13: 
> invali
> d multibyte sequence
> (null): C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el.po:37:14: 
> invali
> d multibyte sequence
> (null): C:\ms4w\apps\cartoweb3/projects/volos_info/po/client.el.po:37:15: 
> invali
> d multibyte seq in C:\ms4w\apps\cartoweb3\cw3setup.php on line 580
>
>
>
> I guess this is due to the greek that i hace entered in po files and that 
> i have to change the encoding somehow.
> Any help on this?
> Thank you veru much!
> 



More information about the Cartoweb-users mailing list