[Cartoweb-users] Internationalization po2mo!!

Patrick Mayrand Patrick.Mayrand at fadq.qc.ca
Thu Jul 13 13:54:47 EDT 2006


Hi,


In the documentation:

16.1.5. Example
To translate texts in french for project test_project and map file projectmap, follow these steps:
* On server:
cd <cartoweb_home>/scripts
php server2pot.php
Copy <cartoweb_home>/projects/test_project/po/server.po to
<cartoweb_home>/projects/test_project/po/server.fr.po and
<cartoweb_home>/projects/test_project/po/server.projectmap.po to
<cartoweb_home>/projects/test_project/po/server.projectmap.fr.po .
Edit french files with Poedit (or any editor).
* On client:
cd <cartoweb_home>/scripts
php client2pot.php
Copy <cartoweb_home>/projects/test_project/po/server.po to
<cartoweb_home>/projects/test_project/po/server.fr.po .
Edit french file with Poedit (or any editor).
Merge and compile files with the following commands:
cd <cartoweb_home>/scripts
php po2mo.php


but:

Warning: Project testing merge - file /var/www/cartoweb3/projects/testing/po/testing.fr.po not found.
Warning: Project testing merge - file /var/www/cartoweb3/projects/testing/po/testing.en.po not found.
Warning: Project testing merge - file /var/www/cartoweb3/projects/testing/po/testing.fr.po not found.
Warning: Project testing merge - file /var/www/cartoweb3/projects/testing/po/testing.en.po not found.
Warning: Project testing merge - file /var/www/cartoweb3/projects/testing/po/testing.fr.po not found.
Warning: Project testing merge - file /var/www/cartoweb3/projects/testing/po/testing.en.po not found.
Warning: Project testing compile - file /var/www/cartoweb3/projects/testing/po/testing.fr.po not found.
Warning: Project testing compile - file /var/www/cartoweb3/projects/testing/po/testing.en.po not found.


Is the documentation missing anything?
When i created the files its ok




Thanks,

Pat




More information about the Cartoweb-users mailing list