Re: Strenge problem with switch language on login screen
Zmylna <[email protected]> Fri, 01 Aug 2014 14:13:31 +0200
| Newsgroups | gmane.comp.horde.internationalization |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 31 Jul 2014 12:32:25 +0200, Jan Schneider <[email protected]> wrote: > > Zitat von Zmylna <[email protected]>: > >> On Thu, 31 Jul 2014 12:15:58 +0200, Jan Schneider <[email protected]> wrote: >> >>> >>> Zitat von Zmylna <[email protected]>: >>> >>>> On Thu, 31 Jul 2014 11:31:16 +0200, Jan Schneider <[email protected]> = >>>> wrote: >>>> >>>>> >>>>> Zitat von Pawe=B3 Dacka <[email protected]>: >>>>> >>>>>> Hi All :) >>>>>> I have strange problem with language switching on login screen. >>>>>> My preferred language is polish. When i select polish from = >>>>>> drop-down list >>>>>> nothing happened - ui is in the english language. >>>>>> If i select "Arabic (oman)" (first from the top) and next "Arabic = >>>>>> (Syria)" >>>>>> until then interface language changes to polish. (?) >>>>>> But if in this situation i log in to horde part ui is in polish and = >>>>>> part in >>>>>> Arabic :( >>>>>> >>>>>> If i select from drop-down list polish language then login screen = >>>>>> back to >>>>>> english language. But if i log in in to horde part of it is in = >>>>>> polish (top >>>>>> menu) and part in english (menu items). >>>>>> >>>>>> Anybody have an idea where is the problem ? >>>>>> >>>>>> OS: NetBSD 5.1 >>>>>> *Horde Groupware Webmail Edition* *5.2.0* >>>>>> *PHP: 5.4.26* >>>>>> Apache 2.2 >>>>>> >>>>>> PS. >>>>>> Sorry for my english >>>>> >>>>> Try restarting the web server. >>>>> >>>> >>>> Hi Jan. >>>> Thank you for your answer. >>>> I restarted server but nothing changed. >>>> >>>> I try again to explain what's wrong. >>>> I try to change language to polish >>>> If i just select polish from drop-down list on login screen language = >>>> does not change (is still english) but if i log in to the horde part = >>>> of text is in polish and part is in english. >>> >>> This might be the expected behavior. The login screen is only = >>> reloaded, and thus the language changed, if you don't have any = >>> credentials entered into the login form yet. >>> Further, the Polish translation might be incomplete. >>> >>>> Logon screen language is changed if: >>>> 1. select "polish" >>>> 2. select "arabic (oman)" >>>> 3. select "arabic (syria)" >>>> I must make these steps one by one to switch login screen layout to = >>>> polish. >>> >>> I don't understand this last paragraph at all, especially since you = >>> said first that selecting Polish did *not* change the interface = >>> language. >>> >> ok, this is hard to explain >> if you can please look at this url: http://horde.mago.pl >> >> 1. Select polish language >> 2. Select polish(Polski), arabic (oman), arabic (syria) <- in this order >> >> --Zmylna > > No idea what might be causing this. > Hi Jan. The problem is solved :) I edited Registry.php and commented-out this line: putenv('LANGUAGE=3D' . = $lang_charset); Now looks like this: $lang_charset =3D $lang . '.UTF-8'; if (setlocale(LC_ALL, $lang_charset)) { putenv('LC_ALL=3D' . $lang_charset); putenv('LANG=3D' . $lang_charset); //putenv('LANGUAGE=3D' . $lang_charset); } else { $changed =3D false; } Now horde is in language what i choose :) But... Kronolith stops showing freebusy information. In english is ok but if i = chose polish the freebusy information is lined-out. I checked the freebusy url and is ok: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//The Horde Project//Kronolith H5 (4.2.0)//EN METHOD:PUBLISH BEGIN:VFREEBUSY ORGANIZER;CN=3Duser:mailto:[email protected] DTSTAMP:20140801T115452Z DTSTART:20140731T220000Z DTEND:20140830T220000Z URL:http://server/kronolith/fb.php?u=3Duser FREEBUSY:20140810T080000Z/20140810T090000Z END:VFREEBUSY END:VCALENDAR Additional info: If i add new event and attendees before i close window freebusy = information is whole green. If i close the new event window and reopen it the freebusy information is = lined-out (no info). If i log in with english language on the same user the freebusy = information shows correctly. Any hint with this ? Thanks in advance -- = Zmylna -- = i18n mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]