Bug 617

Summary: LANG option not working for application
Product: [ROSA-based products] ROSA Fresh Reporter: Eugene Budanov <r0g3r>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: RESOLVED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: alex.burmashev, alexander.barakin, alexander.kazantsev, dmitry.mikhirev
Version: Marathon   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Eugene Budanov 2012-08-06 15:04:11 MSK
Description of problem:
Any programs running from terminal emulator with LANG option not changing locale.

Version-Release number of selected component (if applicable):
ROSA Marathon 2012, KDE 4.8.3

How reproducible:
F.ex: Run Konsole. Typing: LANG=en_GB.UTF-8 firefox but it will launch with Russian locale.
Comment 1 Alexander Burmashev 2012-08-06 15:10:16 MSK
confirmed, same behaviour on my pc
Comment 2 Dmitry Mikhirev 2012-08-09 16:40:17 MSK
Try using LANGUAGE instead LANG.
Comment 3 Eugene Budanov 2012-08-13 13:28:41 MSK
not help for me
Comment 4 Eugene Budanov 2012-08-13 13:35:46 MSK
for some application working LC_ALL= option, but is applied not for all apps.
Comment 5 Dmitry Mikhirev 2012-08-13 13:37:26 MSK
Is en_GB.UTF-8 locale available? Check `locale -a' output. Is firefox-en_GB package installed?
Comment 6 Dmitry Mikhirev 2012-08-13 13:41:07 MSK
BTW English localisation files from most packages are not being installed until you have locales-en package.
Comment 7 Eugene Budanov 2012-08-13 14:07:22 MSK
locales-en and locales-ru packages installed. en-GB locale installed:

locale -a output:

en_GB
en_GB.iso88591
en_GB.utf8
en_GB.UTF-8
Comment 8 Aleksandr Kazantcev 2012-08-13 14:13:06 MSK
See LANG=en_GB.UTF-8 locale

Only LANG switch, by other LC variables not

Try

LC_ALL=en_GB.UTF-8 firefox
Comment 9 Eugene Budanov 2012-08-13 14:41:13 MSK
LC_ALL working for firefox. But not for Kopete, for example.
Comment 10 Aleksandr Kazantcev 2012-08-13 14:54:32 MSK
In KDE you need change lang and restart X-server - only after that language options will implement. KDE and it's related apps not use standart LANG/LC mechanism, as i'm remember.
Comment 11 alexander barakin 2012-12-18 18:59:27 MSK
(In reply to comment #9)
> LC_ALL working for firefox. But not for Kopete, for example.

install package "kde-l10n-en_GB"