Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76314

Summary: mc do not use locales (sk_SK) in menu and dialogs
Product: Gentoo Linux Reporter: Jan Stanik <morb>
Component: Current packagesAssignee: utf8 herd (RETIRED) <utf8>
Status: RESOLVED TEST-REQUEST    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 122768    

Description Jan Stanik 2005-01-01 09:24:50 UTC
When I did setup all environment locale variables to "sk_SK", ran mc is still in English. Maybe is something wrong in base system configuration, maybe not.

Localization not works anywhere: console, X, remote ssh session.

Problem was consulted on the forums and IRC channel.

Reproducible: Always
Steps to Reproduce:
1.I did setup /etc/locales/build for entries:

sk_SK/ISO-8859-2
sk_SK.UTF-8/UTF-8
en_US/ISO-8859-1
en_US.UTF-8/UTF-8

during instalation (from stage3)
2.after install of base system and first reboot I did setup LANG="sk_SK" and LC_ALL="sk_SK" as environment variables in /etc/profile:

listing:

morb@marduk morb $ locale
LANG=sk_SK
LC_CTYPE="sk_SK"
LC_NUMERIC="sk_SK"
LC_TIME="sk_SK"
LC_COLLATE="sk_SK"
LC_MONETARY="sk_SK"
LC_MESSAGES="sk_SK"
LC_PAPER="sk_SK"
LC_NAME="sk_SK"
LC_ADDRESS="sk_SK"
LC_TELEPHONE="sk_SK"
LC_MEASUREMENT="sk_SK"
LC_IDENTIFICATION="sk_SK"
LC_ALL=sk_SK

3. I have compiled mc-4.6.0-r12 with +nls in USE flags
4. when I try to run mc, it is still in English, but previous instalation on the same computer was shown after these steps in Slovak
Actual Results:  
I think, mc is very good software and I understand English, this problem is just
cosmetic :-) I will to use EN mc, no problema :-)

Expected Results:  
Offers Slovak menu and dialogs after start if "sk_SK" is set-up-ed in locales.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-01-27 05:45:53 UTC
if localization works nowhere, it's not an mc problem, could you fix it meanwhile?
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 04:44:49 UTC
not a midnight commander problem, could you fix it? 
Comment 3 Jan Stanik 2005-06-07 05:55:04 UTC
Localization works fine as well in other applications, but not in mc. Written
bug not works in mc RUNNING in text console, XWindows consoles or via ssh,
nowhere. Maybe mc is not translated into SK and my previous post is not bug report.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-07 05:58:10 UTC
at least i have this here: 
/usr/share/locale/sk/LC_MESSAGES/mc.mo 
Comment 5 Gunnar Tiedt 2005-12-09 12:24:12 UTC
did you compile mc with the USE-flag "samba"?
in this case try to compile mc without samba.
it seems to be a problem samba.

check this bug 102903 too.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 14:06:13 UTC
Please, try with 4.6.1 and report back. Thanks.