To be more precise, there are 2 gettext components in CartoWeb:

- a "reading" part that translates user interface strings in the web browser and that use PHP gettext extension. It is automatically available and activated if you installed CartoWeb with the windows-installer

- a "writing" part that is used by CW backend scripts (such as cw3setup.php) to gather and compile translation dictionaries. It uses small programs (msgfmt, msgcat, ...) to do so. It looks like you don't have those programs on your system and cw3setup.php warned you that you won't be able to build your own translation dictionaries. To enable those gettext programs, follow Oliver's link. You may also use third-party software such as poedit (http://www.poedit.org/) which is a windows-compatible desktop application but you'll have to do some of the work (correct naming, files location, ...) by hand.

oliver.christen wrote:
Hi Adriano,

gettext is the program that allow language translation in cartoweb.
If you want to use several languages in your project, you need to install gettext, to translate automatically textes.
see http://gettext.sourceforge.net/ for gettext for windows

If you are only doing your project in brazilian, you do not need to install gettext. As the "error" message say at the end, "Installation finished..." so you are ok.

Oliver

Hi All,

I have this error:

http://lists.maptools.org/pipermail/cartoweb-users/2006-January/000388.html


I run this command on DOS:

php C:\wamp\www\cartoweb3\cw3setup.php --clean

It oK

When I run this command:

php C:\wamp\www\cartoweb3\cw3setup.php --install --base-url
http://localhost/cartoweb3/htdocs/

Retry this:

C:\wamp\www\cartoweb3>php C:\wamp\www\cartoweb3\cw3setup.php --install --base-ur
l http://localhost/cartoweb3/htdocs/
installing
Creating directories
Setting permissions
Copying .ini.dist files into .ini (if not existing)
Copying/linking ressources into htdocs
Copying <files>.in into <files>
Launching makemaps script
Launching po2mo script
Warning: Gettext command msgfmt or msgcat was not found: translations won't work

If you want to use internationalisation, be sure to have gettext installed See http://www.gnu.org/software/gettext/ (for Windows, see http://gettext.source
forge.net/)
Installation finished...


Im from Brazil, i have download a additonal language????




--
Adriano Hantequeste Gomes
Secretaria de Segurança Pública e Defesa Social
Gerencia de Estatística e Análise Criminal
(27) 3334-4736
(27) 8813-8314

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to