language selector report multiple occurance of the same languages

Bug #1067149 reported by Vincent Fortier
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Incomplete
Undecided
Unassigned

Bug Description

When enabling the language selector I get multiple occurrances of the same languages. Therefore I get "français" repeated around 8-10 times and others also... while the language I was aiming for, "Français Canada", in not being showed ;)

Looks like it's missing a "sort -u" or similar to remove uneeded repetitions?

Revision history for this message
Vincent Fortier (th0ma7) wrote :

multiple "francais" occurrance + multiple empty options

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

lightdm-gtk-greeter shows the languages that lightdm feeds it with. It should be the same list as you see if you run

  /usr/share/language-tools/language-options

from a terminal window. I'm not able to reproduce the behavior you reported. Are you?

Which versions of lightdm and accountsservice do you have? (I have lightdm 1.4.0-0ubuntu2 and accountsservice 0.6.21-6ubuntu5.)

affects: lightdm-gtk-greeter → lightdm
Changed in lightdm:
status: New → Incomplete
Revision history for this message
Vincent Fortier (th0ma7) wrote :

Here is the output:

fortierv@gaston:~/Documents$ /usr/share/language-tools/language-options
an
ar
crh
de
en
en_AU
en_CA
en_GB
en_NZ
en_US
fr_CH
fr_FR
hy
ps
rw
ta
uz
vi
zh_CN
zh_HK
zh_TW

fortierv@gaston:~/Documents$ dpkg -l | grep -e lightdm -e accountsservice
ii accountsservice 0.6.21-6ubuntu5 amd64 query and manipulate user account information
ii gir1.2-accountsservice-1.0 0.6.21-6ubuntu5 amd64 GObject introspection data for AccountService
ii libaccountsservice0 0.6.21-6ubuntu5 amd64 query and manipulate user account information - shared libraries
ii liblightdm-gobject-1-0 1.4.0-0ubuntu2 amd64 LightDM GObject client library
ii liblightdm-qt-2-0 1.4.0-0ubuntu2 amd64 LightDM Qt client library
ii lightdm 1.4.0-0ubuntu2 amd64 Display Manager
ii lightdm-gtk-greeter 1.3.1-0ubuntu1 amd64 LightDM GTK+ Greeter
ii lightdm-kde-greeter 0.3.0-0ubuntu2 amd64 LightDM KDE greeter
ii lightdm-remote-session-freerdp 1.0-0ubuntu2 amd64 Session and configuration to login with FreeRDP
ii lightdm-remote-session-uccsconfigure 1.1-0ubuntu2 amd64 Session and configuration to login to configure UCCS

that is not to mention that it is strange I don't have fr_CA ... while locale -a shows this:
fortierv@gaston:~/Documents$ locale -a
an_ES.utf8
ar_IN.utf8
C
crh_UA.utf8
C.UTF-8
de_CH.utf8
dz_BT
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
fr_BE.utf8
fr_CA.utf8
fr_CH.utf8
fr_FR.utf8
fr_LU.utf8
hy_AM
hy_AM.utf8
ia
ks_IN.utf8
POSIX
ps_AF.utf8
rw_RW.utf8
ta_IN.utf8
uz_UZ@cyrillic
uz_UZ.utf8
vi_VN.utf8
wo_SN
zh_CN.utf8
zh_HK.utf8
zh_SG.utf8
zh_TW.utf8

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2012-10-19 00:05, Vincent Fortier wrote:
> Here is the output:
>
> fortierv@gaston:~/Documents$ /usr/share/language-tools/language-options
> an
> ar
> crh
> de
> en
> en_AU
> en_CA
> en_GB
> en_NZ
> en_US
> fr_CH
> fr_FR
> hy
> ps
> rw
> ta
> uz
> vi
> zh_CN
> zh_HK
> zh_TW

So, does it really differ from the list that the language chooser in lightdm-gtk-greeter shows?

> that is not to mention that it is strange I don't have fr_CA

No, it's because you don't have a /usr/share/locale-langpack/fr_CA or a /usr/share/locale/fr_CA directory, i.e. there is no translation on your computer into some Canadian variant of French. In other words it would be pointless to have a fr_CA option in the list of languages.

Revision history for this message
Vincent Fortier (th0ma7) wrote :

Actually, from the output of /usr/share/language-tools/language-options it seems all languages without any "_*" have been replaced with "français" which I presume is my default system-wide language... that exactly matches the repetitions of "français" I have in the language selector.

In regards to fr_CA (as 2nd topic), `locale -a` does show fr_ca.utf8 as being available ... Also gnome & kde allow french canadian language support... therefore I'd presume I should be seing that language also within the language selector, no? Unless I'm missing something here?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Vincent
It's an odd behavior you describe, and I for one am not able to reproduce it. Btw, you are on a Kubuntu distro, right?

Please note that setting language means that you choose among available translations. Considering that there is no Canadian translation into French, why would we give the impression that there is?

Setting appropriate locale(s) for date/time format etc. is another thing. That's done from within a session, and there is fr_CA most certainly one of the options.

Revision history for this message
Vincent Fortier (th0ma7) wrote :

fortierv@gaston:~/Documents$ cat /etc/issue
Ubuntu 12.10 \n \l

I presume I am using ubuntu, not kubuntu...

For the french canadian translation, there as always beem one for kde, un until now, it seems? Using "francais" from France makes my locale being fr_FR instead of being fr_CA like i'd be assuming to get if there was a french canadian selection.

But anyhow, it does not change anything to the multiple repetitions of languages within the login screen. Once that will be close I'll open-up another one for the fr_CA missing.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.