[i18n] Re: Translating a new module...
Jan Schneider
jan at horde.org
Thu May 29 03:07:32 PDT 2003
Zitat von Eduard Warkentin <mailinglist at ew-net.de>:
> Hi!
>
> > Just use gettext calls for all strings in your code that need to get
> > translated, create a po directory and use translation.php to create
> your
> > translations.
>
> I've done like you told me... everything worked.
>
> So I translated my whole module, but something went wrong, I'm not
> getting
> any translations anymore, in _no_ module.
>
> I've done the following:
>
> 1. Called "php -f translation.php update -m mymodule -l de_DE", since I
> already created mymodule.pot and de_DE.po in my po directory.
> 2. Called "php -f translation.php merge -m mymodule -l de_DE".
"merge" is already implicitly called by "update" but it doesn't hurt.
> 3. Translated de_DE.po
> 4. Called "php -f translation.php make -m mymodule -l de_DE".
Looks fine.
> I think, this should be sufficent to get my translation working
> (according
> to the readme), but it doesnt. No matter which language I'm choosing on
> login, I only get the original (english) text strings.
>
> I've taken a close look to the "mymodule.mo" file, as far as I can see,
> my
> translation is included correctly there.
>
> Do you have any idea whats going on there?
Trying running translation.php in debug mode (with -d flag) and see if there
are any error messages.
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