[Cartoweb-users] Gettext command msgfmt or msgcat was not found
oliver.christen
oliver.christen at camptocamp.com
Thu Jan 12 14:54:35 EST 2006
you downloaded the gettext setup file?
http://prdownloads.sourceforge.net/gnuwin32/gettext-0.14.4.exe?download
once you have, double clic on it to install it on window
Then, set the path to the Gettext binary in your PATH environment variable.
( control panel > system > Advanced > Environment Variables). If there is no
PATH variable, add a new one. If a PATH variable is already present, you can
add the path to gettext at the end of the existing path values, but add a
";" inbetween: path1;path2;path3): )
C:\Program Files\GnuWin32\bin;The example above is true if the Gettext
binaries are installed in C:\Program Files\GnuWin32\bin.
All this is explained in cartoweb documentation:
http://www.cartoweb.org/doc_head/docbook/xhtml/user.install.html#user.install.win32
1.1.4.3.1. CartoWeb Setup with DOS, Note 2
> Hi,
>
>
> i download the poedit and gettext for win32 how to install all this,
> not see documentation for install above.
>
> And the error:
> http://lists.maptools.org/pipermail/cartoweb-users/2006-January/000388.html
>
> is because with out poedit and gettext insn't install.
>
>
> Very Thanks.
>
> Sorry I'm a begginer on Software with Sourceforge.
>
>
>
> --
> 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
>
>
>
>
>
>
>
> 2006/1/12, Alexandre Saunier <alexandre.saunier at camptocamp.com>:
>> 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
>> >> Cartoweb-users at lists.maptools.org
>> >> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>> >>
>> >
>> > _______________________________________________
>> > Cartoweb-users mailing list
>> > Cartoweb-users at lists.maptools.org
>> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list