This forum has been archived. All content is frozen. Please use KDE Discuss instead.

localization not working

Tags: None
(comma "," separated)
User avatar
alainroger
Registered Member
Posts
159
Karma
0
OS

localization not working

Thu Apr 05, 2018 10:40 am
Hi,

i have set language to US(English) for KDE and ubuntu. But as i'm french and i communicate a lot in french, i need to have locales and date/time to french settings.

However, my computer is always in english for currency, date, time formats.
Why ?

Here are the screenshots.

Image

Image

What is the problem?

Thx


Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: localization not working

Thu Apr 05, 2018 11:11 am
You got kde-l10n-fr installed?


Debian testing
tosky
Registered Member
Posts
210
Karma
3

Re: localization not working

Thu Apr 05, 2018 11:22 am
kde-l10n-* packages are not relevant for Plasma or Frameworks, only for the KDE Applications bundle and only for Qt4 applications.

What version of ubuntu?
The screenshot shows that the localized information are correct - did you configure the locale at the system level? What does `locale` says? I'm not sure if you want to switch the entire language of your system to French (Plasma, since the port Qt5, has no special language configuration, it uses the system locales).

The clock in the panel unfortunately is a bit different and you need to select the 24 hours format from its preferences (otherwise it shows PM/AM )


tosky, proud to be a member of KDE forums since 2008-Oct.
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: localization not working

Thu Apr 05, 2018 11:28 am
Thanks for correcting me, tosky! Nothing worse than sending someone down the garden path...


Debian testing
User avatar
alainroger
Registered Member
Posts
159
Karma
0
OS

Re: localization not working

Thu Apr 05, 2018 2:15 pm
Here is the result of locale command:

Code: Select all
LANG=fr_FR.UTF-8
LANGUAGE=en_US;fr
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=

in this case date and time are in french format, but also text in konsole... and i do not want that.
all my system should be in english, but only time, date, metric, currency should by in french.

so, if LC_ALL="en_US.UTF-8" in this case, konsole is in englih as i want, but unfortunately also the date and time is in US format (and i do not want that)


Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3
User avatar
alainroger
Registered Member
Posts
159
Karma
0
OS

Re: localization not working

Thu Apr 05, 2018 2:41 pm
if i remove fr from LANGUAGE=en_US;fr then i got LANGUAGE=en_US

in this case everything works as i want.

version of KDE is 5.12.4 and ubuntu 17.10 as written in my signature


Kubuntu 22.04 / kernel 5.15.x
KDE 5.24.5 / KDE framework: 5.95 / Qt version: 5.15.3


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]