[i18n] Translating a new module...

Jan Schneider jan at horde.org
Wed May 28 15:32:34 PDT 2003


Zitat von Eduard Warkentin <mailinglist at ew-net.de>:

> Hello to everyone!
>
> I'm having some problems translating a self-written module (which is not
> part of Horde).
>
> At the moment, I'm using english as the default language for any text
> output, without bothering about anything like gettext, etc.
>
> Now, I have to provide at least one more language (german in my case),
> but I
> dont know how to start at that point.
>
> Can somebody please have the patience to give me a short overview of what
> I
> have to change in my module to be able to create a translation?

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.

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