[Cartoweb-users] Gettext command msgfmt or msgcat was not found
alexandre.saunier at camptocamp.com
Thu Jan 12 12:58:04 EST 2006
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.
> 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.
>> Hi All,
>> I have this error:
>> 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
>> Retry this:
>> C:\wamp\www\cartoweb3>php C:\wamp\www\cartoweb3\cw3setup.php --install
>> l http://localhost/cartoweb3/htdocs/
>> 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
>> See http://www.gnu.org/software/gettext/ (for Windows, see
>> 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
>> Cartoweb-users at lists.maptools.org
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
More information about the Cartoweb-users