[imp] international languages

Chuck Hagenbuch chuck@horde.org
Tue, 14 Nov 2000 14:56:45 -0500


Quoting Rick Lee <rlee@electricmail.com>:

> my apologies, I am trying to run 2.2.x but I thought that it wouldn've
> mattered as it would stay similar in the next versions.

No, we're moving to gettext (a completely different system) in 2.3.

> I looked in locale and config, I don't understand the usage of locale and
> lang.php3.. I was just wondering if there are documentation of what it means
> to have say, a language defined in lang.php3..
> 
> Does imp automatically understand what language is requested?(perhaps through
> codepage or something?) if so how can I test imp that is running in another
> language ?

If you select a language on the login screen, IMP uses that. If your browser has
a preference for a language (HTTP_ACCEPT_LANGUAGES), IMP will honor that if that
language is available.

All you need to do is define the language in config/lang.php3, and then copy the
locale directory over from a known one (like locale/en/) and translate
everything.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues