6.0.0-git
2019-07-19

[#13610] language problem in menu-bar after successful login
Summary language problem in menu-bar after successful login
Queue Horde Base
Queue Version 5.2.1
Type Bug
State Not Reproducible
Priority 2. Medium
Owners
Requester cheese (at) nosuchhost (dot) net
Created 2014-09-30 (1753 days ago)
Due
Updated 2016-01-22 (1274 days ago)
Assigned
Resolved 2016-01-22 (1274 days ago)
Milestone
Patch No

History
2016-01-22 09:52:36 Jan Schneider Comment #6
State ⇒ Not Reproducible
Reply to this comment
You need to find out where the textdomain is reset.
2014-10-06 18:46:11 cheese (at) nosuchhost (dot) net Comment #5 Reply to this comment
I'm pretty sure that my patch is not a correct solution, but only 
fixes the outcome of some underlying problem.
2014-10-03 17:12:40 cheese (at) nosuchhost (dot) net Comment #4
New Attachment: menu.html.php.patch Download
Reply to this comment
the following patch solves the problem for me.
it seems that something resets the textdomain in my menubar.

i'm not sure if this is the correct solution.
2014-09-30 17:56:10 cheese (at) nosuchhost (dot) net Comment #3 Reply to this comment
Maybe unrelated:
[Tue Sep 30 19:54:50 2014] [error] [client 91.119.19.119] Cannot write 
Autoloader cache to backend., referer: 
https://horde.nosuchhost.net/services/portal/
2014-09-30 13:59:36 cheese (at) nosuchhost (dot) net New Attachment: langtest.php Download
 
2014-09-30 11:47:57 cheese (at) nosuchhost (dot) net Comment #2 Reply to this comment
php version is 5.4.19, if that matters
horde is on 5.2.1
modules on latest released versions
apc disabled (did not change anything)
caching disabled (did not change anything)
2014-09-30 11:46:20 cheese (at) nosuchhost (dot) net New Attachment: after_login_german_webmail.png Download
 
2014-09-30 11:45:00 cheese (at) nosuchhost (dot) net Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ language problem in menu-bar after successful login
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
New Attachment: after_login_german.png Download
Reply to this comment
i'm somewhat stuck with a language problem. maybe you could direct me in the
right direction.

if i select as language "german/Deutsch" i get a correct menu after login,
which is OK

if i click onto Webmail i get some menu-entries in english and some in german,
which is interesting but obviously not desired.

the selected menu-option is always correct, only some of the other 
menu-entries
are wrong.
eg if i click on "Webmail": webmail is OK, but "calendar" should be Kalender.

if i use a slightly modified langtest.php (de_DE instead of nl_NL, and other
teststrings), i get the expected output:
Ung?ltige Inode-Nummer
Anhang
Anhang

used versions: horde is at 5.2.1, everything should be on last stable 
versions.

i did all checks from
http://www.horde.org/apps/horde/docs/TRANSLATIONS
and all worked as expected:
locale -a|grep ^de
de_AT
de_AT@euro
de_AT.iso88591
de_AT.iso885915@euro
de_AT.utf8
de_BE
de_BE@euro
de_BE.iso88591
de_BE.iso885915@euro
de_BE.utf8
de_CH
de_CH.iso88591
de_CH.utf8
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_LU
de_LU@euro
de_LU.iso88591
de_LU.iso885915@euro
de_LU.utf8
deutsch

(LANG=de_DE; LANGUAGE=de_DE; LC_MESSAGES=de_DE; gettext tar "Invalid inode
number")
Ungltige Inode-Nummer

(LANG=de_DE; LANGUAGE=de_DE; LC_MESSAGES=de_DE; gettext horde "Attachment")
Anhang

BUT:
(LANG=de_DE; LANGUAGE=de_DE; LC_MESSAGES=de_DE; gettext horde "Message")
Message

in fact i have no "Message" in my horde.mo-file under
/usr/share/horde/locale/de/LC_MESSAGES

attached are my langtest.php and several screenshots
if anybody wants an account for testing, just ask.


ps.: i wrote to i18n@lists.org, but the list has a very low maximum 
message size of 40k, and would not accept my attachments.

Saved Queries