Greeter does not pick up the language/translations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Switchboard Locale Plug |
Fix Released
|
Medium
|
Marvin Beckers |
Bug Description
This bug seems to be a duplicate, or linked, to the closed issue https:/
It seems that Greeter is not picking up the translations as set by the LANG variable(?) correctly, or it is the locale plug that does not set the variable correctly..?
Anyway, some examples. after applying "Set system language" in the locale plug for German, Norwegian and Spanish a "cat /etc/default/
* LANG=de_DE.utf8
* LANG=nb.utf8 : locale -a does not list an option in this format
* LANG=es.utf8 : --same
Where Greeter only picks up translations when LANG is in this format:
* LANG=de_DE.UTF-8
* LANG=nb_NO.UTF-8
* LANG=es_ES.UTF-8
Related branches
- Fabio Zaramella (community): Approve
-
Diff: 57 lines (+11/-8)1 file modifiedsrc/LocaleManager.vala (+11/-8)
description: | updated |
tags: | added: internationalization |
Changed in pantheon-greeter: | |
status: | New → Confirmed |
status: | Confirmed → New |
Changed in pantheon-greeter: | |
status: | New → Confirmed |
affects: | pantheon-greeter → switchboard-plug-locale |
Changed in switchboard-plug-locale: | |
assignee: | nobody → Djaler (djaler1) |
Changed in switchboard-plug-locale: | |
status: | Confirmed → In Progress |
Changed in switchboard-plug-locale: | |
importance: | Undecided → Medium |
Changed in switchboard-plug-locale: | |
assignee: | Djaler (djaler1) → Marvin Beckers (embik) |
Changed in switchboard-plug-locale: | |
status: | In Progress → Fix Committed |
Changed in switchboard-plug-locale: | |
milestone: | none → loki-alpha1 |
Changed in switchboard-plug-locale: | |
status: | Fix Committed → Fix Released |
Changed in switchboard-plug-locale: | |
milestone: | loki-alpha1 → loki-beta1 |
Well, I checked it with Russian and it works if I manually set `LANG=ru_RU.utf8` or `LANG=ru_RU.UTF-8` in /etc/default/ locale, but don't work with `LANG=ru.utf8` (string by default).
English work correctly with `LANG=en_US.utf8` by default and without manually editing.
I found it: https:/ /bazaar. launchpad. net/~elementary -apps/switchboa rd-plug- locale/ trunk/view/ head:/src/ Widgets/ LocaleSetting. vala#L269
The problem is that for languages like Russian there is no region. Maybe blame the file /usr/share/ language- tools/language- options