Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] locale no longer recognised by Plasma and KDE apps?
Date: Thu, 14 Sep 2017 08:57:40
Message-Id: 1553177.cryKcHUNki@dell_xps
In Reply to: Re: [gentoo-user] locale no longer recognised by Plasma and KDE apps? by Peter Humphrey
1 On Thursday, 14 September 2017 09:03:21 BST Peter Humphrey wrote:
2 > On Wednesday, 13 September 2017 23:38:48 BST Mick wrote:
3 > > On Wednesday, 13 September 2017 23:16:07 BST Peter Humphrey wrote:
4 > > > On Wednesday, 13 September 2017 18:07:20 BST Mick wrote:
5 > > > > Another little problem I came across with Plasma is that neither the
6 > > > > keyboard, nor the spell checking respects the locale, L10N, or
7 > > > > anything else I have set up. systemsettings5 shows en-GB as the
8 > > > > selected language and keyboard, but (I think) a US keyboard layout and
9 > > > > spell checking language is used instead.
10 > > >
11 > > > In what applications, Mick?
12 > >
13 > > Kate, Kmail, Firefox, et al.
14 >
15 > In KMail, you need to set the language in your Identity, under Advanced.
16 > KMail ignores the system-wide setting, and so does KWrite.
17
18 Aha! I had forgotten about this setting in Kmail, but unfortunately it makes
19 no difference. The setting in question seems to be desktop wide and affects
20 all applications within Plasma. :-(
21
22
23 > In Firefox, as
24 > far as I can remember the language was already right. I don't use Kate; in
25 > fact, it seems not to be present. Libre Office seems to associate its
26 > language with each document.
27 >
28 > > > > Is this another systemd-R-us imposition, or is there a way I can set
29 > > > > it up so that Plasma & friends respect the default environment
30 > > > > settings?
31 > > > >
32 > > > > $ env | grep LANG
33 > > > > LANG=en_GB.UTF8
34 > > >
35 > > > I have en_GB set up and apparently working. I haven't done anything in
36 > > > particular to the environment, just used applications' setup.
37 > >
38 > > The keyboard layout works fine on console and other desktop environments.
39 > > It is just Plasma I noticed is not collaborating.
40 > >
41 > > Are you also running Plasma with openrc?
42 >
43 > Yes. Here are my language settings:
44 >
45 > $ env | grep LANG
46 > LANG=en_GB.UTF-8
47 > LANGUAGE=en_GB
48 >
49 > $ grep GB /etc/portage/make.conf
50 > LANG="en_GB.UTF-8"
51 > LANGUAGE="en_GB.UTF-8"
52 > L10N="en-GB en"
53 > LINGUAS="en_GB en"
54 >
55 > You haven't been caught by that L10N trap, have you? The hyphen where you
56 > would expect an underscore?
57
58 Hmm ... I have the following:
59
60 $ env | grep LANG
61 LANG=en_GB.UTF-8
62
63 $ grep GB /etc/portage/make.conf
64 LINGUAS="en_GB en"
65 L10N="en-GB"
66
67 I wasn't aware there is a LANGUAGE variable. I couldn't find it here:
68
69 https://wiki.gentoo.org/wiki/Localization/Guide
70
71 Is this is a new setting? What applications use this?
72 --
73 Regards,
74 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] locale no longer recognised by Plasma and KDE apps? Peter Humphrey <peter@××××××××××××.uk>