i choose english on gdm login screen,after login all applications display Chinese still

Bug #533158 reported by YunQiang Su
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Triaged
Undecided
Unassigned
gnome-menus (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: gdm

if i run fellow in consle:
export LC_ALL=C
startx

it can show english.

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
Date: Sat Mar 6 16:33:39 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: gdm 2.29.6-0ubuntu6
ProcEnviron:
 LANGUAGE=zh_CN:zh
 PATH=(custom, user)
 LANG=zh_CN.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: gdm
Uname: Linux 2.6.32-15-generic x86_64

Revision history for this message
YunQiang Su (wzssyqa) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, did that issue start recently?

Changed in gdm (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

what locale do you select in gdm? what value do you have in /var/cache/gdm/username/.dmrc too?

Revision history for this message
YunQiang Su (wzssyqa) wrote : Re: [Bug 533158] Re: i choose english on gdm login screen, after login all applications display Chinese still

syq@syq-laptop:~$ cat /var/cache/gdm/username/.dmrc
cat: /var/cache/gdm/username/.dmrc: no such file or directory
syq@syq-laptop:~$ cat /var/cache/gdm/syq/.dmrc
cat: /var/cache/gdm/syq/.dmrc: no such file or directory
syq@syq-laptop:~$ cat /var/cache/ddd/syq/.dmrc
cat: /var/cache/ddd/syq/.dmrc: no such file or directory

yes,it is recently appear,in 20 days

2010/3/8 Sebastien Bacher <email address hidden>:
> what locale do you select in gdm? what value do you have in
> /var/cache/gdm/username/.dmrc too?
>
> --
> i choose english on gdm login screen,after login all applications display Chinese still
> https://bugs.launchpad.net/bugs/533158
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Translations (internationalization and localization): New
> Status in “gdm” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: gdm
>
> if i run fellow in consle:
> export LC_ALL=C
> startx
>
> it can show english.
>
> ProblemType: Bug
> Architecture: amd64
> CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
> CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
> Date: Sat Mar  6 16:33:39 2010
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> NonfreeKernelModules: nvidia
> Package: gdm 2.29.6-0ubuntu6
> ProcEnviron:
>  LANGUAGE=zh_CN:zh
>  PATH=(custom, user)
>  LANG=zh_CN.utf8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
> SourcePackage: gdm
> Uname: Linux 2.6.32-15-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-translations/+bug/533158/+subscribe
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

sorry to not be clear, "username" is your actual username and the name has no dot in that directory either

Revision history for this message
YunQiang Su (wzssyqa) wrote :

syq@syq-laptop:~$ cat cat /var/cache/gdm/syq/dmrc
cat: cat: 没有该文件或目录

[Desktop]
Session=gnome
Language=zh_CN.utf8
Layout=us
syq@syq-laptop:~$ cat cat /var/cache/gdm/ddd/dmrc
cat: cat: 没有该文件或目录

[Desktop]
Language=en_GB.utf8
Layout=us

is it?

2010/3/8 Sebastien Bacher <email address hidden>:
> sorry to not be clear, "username" is your actual username and the name
> has no dot in that directory either
>
> --
> i choose english on gdm login screen,after login all applications display Chinese still
> https://bugs.launchpad.net/bugs/533158
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Translations (internationalization and localization): New
> Status in "gdm" package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: gdm
>
> if i run fellow in consle:
> export LC_ALL=C
> startx
>
> it can show english.
>
> ProblemType: Bug
> Architecture: amd64
> CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
> CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
> Date: Sat Mar 6 16:33:39 2010
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> NonfreeKernelModules: nvidia
> Package: gdm 2.29.6-0ubuntu6
> ProcEnviron:
> LANGUAGE=zh_CN:zh
> PATH=(custom, user)
> LANG=zh_CN.utf8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
> SourcePackage: gdm
> Uname: Linux 2.6.32-15-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-translations/+bug/533158/+subscribe
>

Revision history for this message
YunQiang Su (wzssyqa) wrote :

没有该文件或目录 = no such file or directory

在 2010年3月8日 下午10:26,yq s <email address hidden> 写道:
> syq@syq-laptop:~$ cat cat /var/cache/gdm/syq/dmrc
> cat: cat: 没有该文件或目录
>
> [Desktop]
> Session=gnome
> Language=zh_CN.utf8
> Layout=us
> syq@syq-laptop:~$ cat cat /var/cache/gdm/ddd/dmrc
> cat: cat: 没有该文件或目录
>
> [Desktop]
> Language=en_GB.utf8
> Layout=us
>
> is it?
>
> 2010/3/8 Sebastien Bacher <email address hidden>:
>> sorry to not be clear, "username" is your actual username and the name
>> has no dot in that directory either
>>
>> --
>> i choose english on gdm login screen,after login all applications display Chinese still
>> https://bugs.launchpad.net/bugs/533158
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in Ubuntu Translations (internationalization and localization): New
>> Status in "gdm" package in Ubuntu: Incomplete
>>
>> Bug description:
>> Binary package hint: gdm
>>
>> if i run fellow in consle:
>> export LC_ALL=C
>> startx
>>
>> it can show english.
>>
>> ProblemType: Bug
>> Architecture: amd64
>> CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
>> CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
>> Date: Sat Mar 6 16:33:39 2010
>> DistroRelease: Ubuntu 10.04
>> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
>> NonfreeKernelModules: nvidia
>> Package: gdm 2.29.6-0ubuntu6
>> ProcEnviron:
>> LANGUAGE=zh_CN:zh
>> PATH=(custom, user)
>> LANG=zh_CN.utf8
>> SHELL=/bin/bash
>> ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
>> SourcePackage: gdm
>> Uname: Linux 2.6.32-15-generic x86_64
>>
>> To unsubscribe from this bug, go to:
>> https://bugs.launchpad.net/ubuntu-translations/+bug/533158/+subscribe
>>
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

so when you log with the user ddd you get no english strings?

Revision history for this message
YunQiang Su (wzssyqa) wrote :

yes,menus and interface that have been translated to Chinese,is show in Chinese.

2010/3/8 Sebastien Bacher <email address hidden>:
> so when you log with the user ddd you get no english strings?
>
> --
> i choose english on gdm login screen,after login all applications display Chinese still
> https://bugs.launchpad.net/bugs/533158
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Translations (internationalization and localization): New
> Status in “gdm” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: gdm
>
> if i run fellow in consle:
> export LC_ALL=C
> startx
>
> it can show english.
>
> ProblemType: Bug
> Architecture: amd64
> CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
> CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
> Date: Sat Mar  6 16:33:39 2010
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> NonfreeKernelModules: nvidia
> Package: gdm 2.29.6-0ubuntu6
> ProcEnviron:
>  LANGUAGE=zh_CN:zh
>  PATH=(custom, user)
>  LANG=zh_CN.utf8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
> SourcePackage: gdm
> Uname: Linux 2.6.32-15-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-translations/+bug/533158/+subscribe
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you get the issue if you select us english too?

Revision history for this message
Aron Xu (happyaron) wrote :

Confirm this problem, when I select US English I get almost everything in Chinese except the clock is showing in English at the right upper corner. In my system there is only zh-hans language pack installed but not en language pack. And both GNOME/KDE applications are shown in Chinese. But I think en strings are in the programs code, perhaps it should be able to display in en even if there are not any language packs installed on the system.

Thanks,
Aron

Changed in ubuntu-translations:
status: New → Triaged
Revision history for this message
YunQiang Su (wzssyqa) wrote :

i have tried several en_*,all of them have this issue.

2010/3/9 Aron Xu <email address hidden>:
> Confirm this problem, when I select US English I get almost everything
> in Chinese except the clock is showing in English at the right upper
> corner. In my system there is only zh-hans language pack installed but
> not en language pack. And both GNOME/KDE applications are shown in
> Chinese. But I think en strings are in the programs code, perhaps it
> should be able to display in en even if there are not any language packs
> installed on the system.
>
> Thanks,
> Aron
>
> ** Changed in: ubuntu-translations
>       Status: New => Triaged
>
> --
> i choose english on gdm login screen,after login all applications display Chinese still
> https://bugs.launchpad.net/bugs/533158
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Translations (internationalization and localization): Triaged
> Status in “gdm” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: gdm
>
> if i run fellow in consle:
> export LC_ALL=C
> startx
>
> it can show english.
>
> ProblemType: Bug
> Architecture: amd64
> CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
> CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
> Date: Sat Mar  6 16:33:39 2010
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> NonfreeKernelModules: nvidia
> Package: gdm 2.29.6-0ubuntu6
> ProcEnviron:
>  LANGUAGE=zh_CN:zh
>  PATH=(custom, user)
>  LANG=zh_CN.utf8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
> SourcePackage: gdm
> Uname: Linux 2.6.32-15-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-translations/+bug/533158/+subscribe
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

can you please copy&paste the output of

  echo $LANG
  echo $LANGUAGE
  cat ~/.dmrc
  cat /var/cache/gdm/$USER/dmrc

Revision history for this message
YunQiang Su (wzssyqa) wrote :

ddd@syq-laptop:~$ echo $LANG
en_AU.utf8
ddd@syq-laptop:~$ echo $LANGUAGE
zh_CN:zh
ddd@syq-laptop:~$ cat ~/.dmrc

[Desktop]
Language=en_AU.utf8
Layout=us
ddd@syq-laptop:~$ cat /var/cache/gdm/$USER/dmrc

[Desktop]
Language=en_AU.utf8
Layout=us

2010/4/22 Sebastien Bacher <email address hidden>:
> can you please copy&paste the output of
>
>  echo $LANG
>  echo $LANGUAGE
>  cat ~/.dmrc
>  cat /var/cache/gdm/$USER/dmrc
>
> --
> i choose english on gdm login screen,after login all applications display Chinese still
> https://bugs.launchpad.net/bugs/533158
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu Translations (internationalization and localization): Triaged
> Status in “gdm” package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: gdm
>
> if i run fellow in consle:
> export LC_ALL=C
> startx
>
> it can show english.
>
> ProblemType: Bug
> Architecture: amd64
> CheckboxSubmission: c5b469c7e49d1f6d9d00553ad2e4697f
> CheckboxSystem: b1053abfde9c3129a6d80935c06af64c
> Date: Sat Mar  6 16:33:39 2010
> DistroRelease: Ubuntu 10.04
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
> NonfreeKernelModules: nvidia
> Package: gdm 2.29.6-0ubuntu6
> ProcEnviron:
>  LANGUAGE=zh_CN:zh
>  PATH=(custom, user)
>  LANG=zh_CN.utf8
>  SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
> SourcePackage: gdm
> Uname: Linux 2.6.32-15-generic x86_64
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu-translations/+bug/533158/+subscribe
>

--
YunQiang Su

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue seems similar to bug #553162

Revision history for this message
YunQiang Su (wzssyqa) wrote :

This bug is about python-gmenu.

In the postinst of python-gmenu,there is:

# rebuild desktop cache
 rm -f /usr/share/applications/desktop.*.cache
 eval `locale|grep LC_MESSAGES|sed 's/\.UTF-8/\.utf8/'`
 cache="/usr/share/applications/desktop.$LC_MESSAGES.cache"
 echo "Rebuilding $cache..."
 rm -f "$cache"
 /usr/share/gnome-menus/update-gnome-menus-cache /usr/share/applications > "$cache.dpkg-new" || rm -f "$cache.dpkg-new"
 [ -e "$cache.dpkg-new" ] && mv "$cache.dpkg-new" "$cache" || true

It delete all caches and give only one back.

affects: gdm (Ubuntu) → gnome-menus (Ubuntu)
Changed in gnome-menus (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Aron Xu (happyaron) wrote :

I think the importance should be raised.

Revision history for this message
David Planella (dpm) wrote :

I believe it is a duplicate, thus marking it as such.

language-selector sets the LANGUAGE variable, which takes precedence over all locale-related environment variables. GDM sets only LANG, which is overriden by LANGUAGE.

A workaround for this is to start language selector and choose English as the language there.

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.