[Bug 459370] New: gettext does not search in locale specific dirs in X
https://bugzilla.novell.com/show_bug.cgi?id=459370 Summary: gettext does not search in locale specific dirs in X Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: pth@novell.com ReportedBy: jkupec@novell.com QAContact: qa@suse.de CC: visnov@novell.com Found By: Development This is a fresh installation. I set my locale to sk_SK.utf8 and run 'zypper' or 'yast' (a command line app). In a text console the output is correctly in slovak language. But in a graphical terminal, i always get english text despite the correct locale being set. According to strace, gettext looks only in 'en' dirs, no 'sk' dir checked: $ locale LANG=sk_SK.utf8 LC_CTYPE="sk_SK.utf8" LC_NUMERIC="sk_SK.utf8" LC_TIME="sk_SK.utf8" LC_COLLATE="sk_SK.utf8" LC_MONETARY="sk_SK.utf8" LC_MESSAGES="sk_SK.utf8" LC_PAPER="sk_SK.utf8" LC_NAME="sk_SK.utf8" LC_ADDRESS="sk_SK.utf8" LC_TELEPHONE="sk_SK.utf8" LC_MEASUREMENT="sk_SK.utf8" LC_IDENTIFICATION="sk_SK.utf8" LC_ALL=sk_SK.utf8 $ strace zypper &> trace $ grep zypper.mo trace open("/usr/share/locale-langpack/en_US/LC_MESSAGES/zypper.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/zypper.mo", O_RDONLY) = 5 open("/usr/share/locale-langpack/en/LC_MESSAGES/zypper.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/zypper.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale-bundle/en/LC_MESSAGES/zypper.mo", O_RDONLY) = -1 ENOENT (No such file or directory) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=459370
User pth@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=459370#c1
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=459370
User bruno@clisp.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=459370#c2
Bruno Haible
https://bugzilla.novell.com/show_bug.cgi?id=459370
User pth@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=459370#c3
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=459370
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=459370#c4
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com