[horde] language detection problem

Bernhard Werner bernhard at deg.net
Wed Jul 16 01:09:39 PDT 2003


Thanks!

That's what i was exactly looking for..

Cheers, Bernhard

-----Ursprüngliche Nachricht-----
Von: Andrew Morgan [mailto:morgan at orst.edu] 
Gesendet: Dienstag, 15. Juli 2003 19:22
An: Bernhard Werner
Cc: horde at lists.horde.org



On Tue, 15 Jul 2003, Bernhard Werner wrote:

> Hi everybody!
>
> I recognized a problem in the horde framework concerning the automatic
> language detection (maybe with gettext). Every time I open the website it
> shows me the English version of the login page. Even when I logged in (due
> to user settings stored in mysql db) or I changed the language in the
> beginning of the login process horde doesn't care about what I want it to
do
> :|
> Are there any suggestions concerning this topic? I'm using the current
Horde
> and IMP stables on a Debian woody 3.0r1 machine. I also recompiled gettext
> (and even PHP with the updated gettext libs) because I thought about some
> library misbehaviour, due to some earlier postings about gettext becoming
> more native to php from the 0.11 version onwards. Whatever that means??!??
>
> Well I hope that some of you already had some similar behaviour and can
> maybe help me with this issue.
>
> BTW (all PEAR packages are up-to-date and all necessary things are
compiled
> into PHP)
>
> Thanks
>
> -Bernhard

Have you generated all the locales on your Debian box for the available
languages in IMP?  Here are the contents of my /etc/locale.gen file:

bg_BG CP1251
ca_ES ISO-8859-1
cs_CZ ISO-8859-2
da_DK ISO-8859-1
de_DE ISO-8859-1
el_GR ISO-8859-7
es_ES ISO-8859-1
et_EE ISO-8859-1
fi_FI ISO-8859-1
fr_FR ISO-8859-1
hu_HU ISO-8859-2
it_IT ISO-8859-1
ja_JP.EUC-JP EUC-JP
ko_KR.EUC-KR EUC-KR
lt_LT ISO-8859-13
lv_LV ISO-8859-13
nl_NL ISO-8859-1
nn_NO ISO-8859-1
no_NO ISO-8859-1
pl_PL ISO-8859-2
pt_BR ISO-8859-1
pt_PT ISO-8859-1
ro_RO ISO-8859-2
ru_RU ISO-8859-5
ru_RU.KOI8-R KOI8-R
sk_SK ISO-8859-2
sl_SI ISO-8859-2
sv_SE ISO-8859-1
uk_UA KOI8-U
zh_CN GB2312
zh_TW BIG5

In the locale.gen file, you can see instructions for how to generate the
locales.

	Andy





More information about the horde mailing list