[imp] Language Ressource for en_US (LC_MESSAGES)
Eric Jon Rostetter
eric.rostetter at physics.utexas.edu
Tue Feb 14 09:08:06 PST 2006
Quoting Harakiri <harakiri_23 at yahoo.com>:
> Hi Eric,
>
> how do i create a english translation that overrides
> the default one ? just create a folder under locale
> for en_US ?
Yes. For normal translations, just create a horde/po/en_US.po file
and/or horde/<application>/po/en_US.po file. Then use
horde/po/translation.php
or similar to compile it (should result in a
horde/locale/en_US/LC_MESSAGES/horde.mo file, or similar for the other
applications under their trees).
For a help file, just create an xml help file called "help.xml" in
horde/locale/en_US/ (or horde/<application>/locale/en_US/"). Nothing more
needed for help files.
> --- Eric Jon Rostetter
> <eric.rostetter at physics.utexas.edu> wrote:
>
>> Quoting Harakiri <harakiri_23 at yahoo.com>:
>>
>> > Well, that is some bad design to use the default
>> > language inside the source code
>>
>> Why so?
>>
>> > - i wondered why the
>> > msgids are complete sentences - so what if you
>> change
>> > one english sentence you gotta have to change at
>> least
>> > 30+ translations because you changed the msgid -
>> > thats nuts
>>
>> Why? If you changed the meaning or syntax of the
>> sentence (and why else
>> would it be an issue), then you would have to change
>> all the 30+ translations
>> anyway. If you simply fix a typo or something, then
>> the "fuzzy" translation
>> will probably take care of it without any other
>> changes to translations.
>> So you don't really gain or lose anything...
>>
>> And you can create an English translation to
>> override the msgid as the
>> English text, so no lose there either.
>>
>> Perhaps it lacks some elegance, but it isn't really
>> nuts...
>>
>> --
>> Eric Rostetter
>> The Department of Physics
>> The University of Texas at Austin
>>
>> Go Longhorns!
>> --
>> IMP mailing list - Join the hunt:
>> http://horde.org/bounties/#imp
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail:
>> imp-unsubscribe at lists.horde.org
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Go Longhorns!
More information about the imp
mailing list