Bug 5566

Summary: Qt Applications use wrong language
Product: Mageia Reporter: Christian Archer <wordpress>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: minor    
Priority: Normal CC: balcaen.john, lmenut, mageia, nic
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA2TOO
Source RPM: lib64qt4 CVE:
Status comment:

Description Christian Archer 2012-04-23 00:07:21 CEST
Description of problem:
Applications using Qt show Russian interface instead of English. Probably Qt uses wrong variable for lang detection

I don't know whether it's Qt bug or Mageia specific

Tested apps: Qt Config, Qt Creator, Clementine

Env variables:
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8:en_GB:en
LC_ADDRESS=ru_RU.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_MONETARY=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_NUMERIC=ru_RU.UTF-8
LC_PAPER=ru_RU.UTF-8
LC_SOURCED=1
LC_TELEPHONE=ru_RU.UTF-8
LC_TIME=en_GB.UTF-8

Version-Release number of selected component (if applicable):
Qt 4.8

How reproducible:
every time

Steps to Reproduce:
Set system language to one locale (English GB in my case) and country settings to some different locale (Russian RU in my case). KDE and GTK+ apps will be English but pure Qt apps will be Russian by default
Comment 1 Christian Archer 2012-04-23 00:10:50 CEST
LC_ALL=en_GB.UTF-8 qtconfig
does the trick. however i don't want to use this for every qt app

setting consistent locale/country pair is also unacceptable
Comment 2 Manuel Hiebel 2012-04-24 00:57:31 CEST
An ideas luc or john ?

CC: (none) => balcaen.john, lmenut

Comment 3 Marja Van Waes 2012-05-26 13:07:12 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 4 Christian Archer 2012-05-28 20:25:33 CEST
The bug is still valid
Sander Lepik 2012-05-28 20:30:13 CEST

Keywords: NEEDINFO => (none)
CC: (none) => sander.lepik
Whiteboard: (none) => MGA2TOO

Comment 5 Nic Baxter 2015-03-10 01:39:57 CET
Is this still valid? It appears that language locale is handled differently now. Having selected a system language there is a restricted set of countries that can be selected. When I install English(Australia) as system language Russian is not available as a country. If I install the Russian locale then behaviour is the same. Is this an intended change?

CC: (none) => nic

Comment 6 Nic Baxter 2015-03-29 04:18:26 CEST
No response

Status: NEW => RESOLVED
Resolution: (none) => OLD