You are not logged in.
Pages: 1
Hi,
I'm trying to change the system language from Gnome settings, but under Region & Language I find only English.
I can set the input to Italian but not the Language.
I can't find wich package I must download to intall the languages.
Thank you
Mod note: Converted img to url. See the CoC regarding acceptable image sizes -- WorMzy
Last edited by WorMzy (2016-09-10 18:14:27)
Offline
Have you generated the relevant locale yet?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
maybe this can help you
http://askubuntu.com/questions/289190/h … m-language
){
:& };:
lol these smileys nowadays...
Offline
Have you generated the relevant locale yet?
Yes
Offline
maybe this can help you
http://askubuntu.com/questions/289190/h … m-language
No one solved the problem.
Install languages button is not present in Arch Gnome
Offline
loafer wrote:Have you generated the relevant locale yet?
Yes
You should be able to switch language to any locale that you have generated.
$ locale -a
lists all locales available on your system.
Make sure your preferred locale is listed on the output.
Offline
$ locale -a
C
en_US.utf8
it_IT.utf8
POSIX
Offline
That's odd.. Gnome doesn't seem to be aware of any of your locales (en_US would be displayed "English (United States)" in gnome settings), and only fallback English is available.
Have you checked journalctl for any errors that could be related?
You could also start gnome-control-center from terminal, try to switch the language again and see if there are any errors on terminal output.
Offline
Thank you for your answer...
That's odd.. Gnome doesn't seem to be aware of any of your locales (en_US would be displayed "English (United States)" in gnome settings), and only fallback English is available.
Have you checked journalctl for any errors that could be related?
Just done. No relevant errors found.
You could also start gnome-control-center from terminal, try to switch the language again and see if there are any errors on terminal output.
Done. No errors.
Offline
Similar problem on a fresh intallation in VMWare. This time even English US is missing.
All keyboard layouts present.
EDIT: This time i forgot(?) to run locale-gen ^_^
Last edited by Shimoda (2016-09-12 16:33:14)
Offline
I Shimoda, I have the same problem, with italian.
my locale -a output is:
locale -a
C
en_GB.utf8
italian
it_IT
it_IT.iso88591
it_IT.utf8
POSIX
How did you solved this problem?
The interesting part is... GDM is in italian to me!
Last edited by Cirelli94 (2017-11-25 15:45:15)
Offline
Hi Cirelli94 :-)
I don't remember... arch was an experiment, I use Gentoo...
Anyway... did you ran locale-gen?
Offline
Gentoo, uoo.. you have gone to the dark side of the force...
Yes I did, but still no luck with me. However English is fine, is more a little things I can't fix that make me crazy, I'll keep english...
Offline
I don't think there's a general link between generating a local and setting a language preference in a DE. At least, not in KDE. There, I can choose from a large range of languages. But not one is my default locale.
What is available seems to depend more on the language support installed for the DE itself. Often you need to install separate language packs for DEs/applications.
However, I can't work out what these might be for GNOME.
Last edited by cfr (2017-11-26 00:59:18)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I don't think there's a general link between generating a local and setting a language preference in a DE. At least, not in KDE.
There's a direct link between locale settings and language preference. Language is set with LANG variable, and applications pick localized strings according to that. I don't see why KDE applications would work any different, although I've never used that DE.
Gnome's own language settings also work by setting the LANG variable for the session. Also, the languages that are available in gnome settings, are determined by available locales.
What is available seems to depend more on the language support installed for the DE itself. Often you need to install separate language packs for DEs/applications.
There are no separate language packs for gnome. Each application/package includes localization for every language it supports.
Offline
cfr wrote:I don't think there's a general link between generating a local and setting a language preference in a DE. At least, not in KDE.
There's a direct link between locale settings and language preference. Language is set with LANG variable, and applications pick localized strings according to that. I don't see why KDE applications would work any different, although I've never used that DE.
Oh. I thought the issue was language settings and not only locale. In KDE, these are separate. The 'region' setting corresponds to LANG, while the language setting corresponds to LANGUAGE. The options for the former depend on generated locales, I think. The options for the latter definitely do not. In my case, LANG and LANGUAGE are set to different languages because the language specified for my locale is not available as a language in KDE.
If the language settings set LANG, does something else set LANGUAGE? Or is LANGUAGE KDE-specific? In general, it seems useful to me to be able to specify different options in cases where KDE doesn't support a language, but the system and applications may do so. In my case, I tend to get a mixed-language interface, which is preferable to no support at all for my preferred locale. On the other hand, last time I checked, GNOME seemed to offer more comprehensive support for internationalisation than KDE, so perhaps this is less needed there.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
If the language settings set LANG, does something else set LANGUAGE? Or is LANGUAGE KDE-specific?
I'm guessing LANGUAGE is KDE specific, or at least it's not being used with Gnome.
In Gnome's Region & Language, there are separate settings for "Language" and "Formats". The regional options available for both settings are determined by what locales are available on the system.
The "Language" setting seems to set LANG and some LC_* variables, and "Formats" some other LC_* variables. For example I've set language to US English, and formats to United Kingdom, and this is my output for locale:
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
I also checked my environment variables, but there's no LANGUAGE in env output.
Offline
For comparison:
$ locale
LANG=cy_GB.UTF-8
LC_CTYPE="cy_GB.UTF-8"
LC_NUMERIC="cy_GB.UTF-8"
LC_TIME="cy_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="cy_GB.UTF-8"
LC_MESSAGES="cy_GB.UTF-8"
LC_PAPER="cy_GB.UTF-8"
LC_NAME="cy_GB.UTF-8"
LC_ADDRESS="cy_GB.UTF-8"
LC_TELEPHONE="cy_GB.UTF-8"
LC_MEASUREMENT="cy_GB.UTF-8"
LC_IDENTIFICATION="cy_GB.UTF-8"
LC_ALL=
$ printenv | grep LANG
LANG=cy_GB.UTF-8
LANGUAGE=en_GB
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Mmm. So what I'm doing wrong is still a mistery.
If I run locale-gen I generate:
sudo locale-gen
Generating locales...
it_IT.UTF-8... done
it_IT.ISO-8859-1... done
en_GB.UTF-8... done
Generation complete.
So it's ok. Now I set my locale to:
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE=C
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
... And now Gnome recognize italian in settings... gonna logging out and in...
edit: nothing changed!
See image!
edit2:
is this useful?
echo $LANG
it_IT.UTF-8
edit3:
I find out after reboot my /etc/locale.conf becomed:
LANG=it_IT.UTF-8
LC_ALL=
even if before I added all variables as you have!!!
Last edited by Cirelli94 (2017-12-01 20:56:18)
Offline
I don't think /etc/locale.conf is expected to include the full list. For example, I have
LANG=cy_GB.UTF-8
LANGUAGE=cy_GB:cy:en_GB:en
LC_COLLATE=C
but locale returns
LANG=cy_GB.UTF-8
LC_CTYPE="cy_GB.UTF-8"
LC_NUMERIC="cy_GB.UTF-8"
LC_TIME="cy_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="cy_GB.UTF-8"
LC_MESSAGES="cy_GB.UTF-8"
LC_PAPER="cy_GB.UTF-8"
LC_NAME="cy_GB.UTF-8"
LC_ADDRESS="cy_GB.UTF-8"
LC_TELEPHONE="cy_GB.UTF-8"
LC_MEASUREMENT="cy_GB.UTF-8"
LC_IDENTIFICATION="cy_GB.UTF-8"
LC_ALL=
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
With gnome you don't need to set everything in locale.conf. Gnome sets locale settings according to what you set in control center.
Your shell appears to be in italian, so langage should be set properly. Are the localized strings installed in /usr/share/locale/it/LC_MESSAGES/ as they should?
EDIT. On second though it appears as only the date and time was localized to it_*, but language wasn't, as it still says "Activities" in upper left corner.
You could try removing the ISO-8859-1 locale, in case it somehow messed something up. You're supposed to use utf8 with gnome anyway.
Last edited by ooo (2017-12-02 08:51:07)
Offline
Pages: 1