[Cartoweb-users] Translation process.

Bruno Friedmann bruno at ioda-net.ch
Mon Sep 29 13:19:06 EDT 2008


Nikos Papadakis wrote:
> 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!

Perharps you have to check that po are in utf-8

"Project-Id-Version: \n"
"POT-Creation-Date: 2008-04-16 10:42+0200\n"
"PO-Revision-Date: 2005-03-11 19:14+0100\n"
"Last-Translator: AF <af at c2c.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

In previous version there's a killing mix between iso and utf-8 po file inside carto.
In our case we convert/translate all of them in utf-8 just to be sure.



-- 

     Bruno Friedmann


More information about the Cartoweb-users mailing list