[i18n] Re: patch for translation.php (solving "translation.php wipes out messages")

Jan Schneider jan at horde.org
Wed Oct 1 00:10:55 PDT 2003


Zitat von Benoit St-André <ben at benoitst-andre.net>:

> Hi all
>
> With the last message from Jan asking me the output of xgettext --help,
> I was in the loop of "Everything is supposed to be ok, why doesn't it
> work ?"...
>
> So I finally decide to check how translation.php was working (with the
> message from Jan in mind...). (As some of you may know), translation.php
> puts the result of the command "xgettext --help" in a variable, and
> checks if the string "PHP" is in that result to see if the php_support
> of xgettext is enabled.
>
> The main problem: it seems that nobody took care of updating the french
> result of "xgettext --help" for gettext-0.12 .... as a result, nothing
> mentions that PHP is one of the languages supported (I didn't check for
> other languages, but it seems that our friend Ivan Norris has the same
> problem in slovak).
>
> So, since Jan told us that xgettext supports php by default in
> gettext-0.12, that's what I used to check if php was supported or not.

We now check for the gettext version instead of the PHP string in the
xgettext output.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the i18n mailing list