USC: Wrong language shown in Ubuntu Software Center

Bug #560591 reported by Anders Berglund
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Triaged
Low
Unassigned
software-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: software-center

Bug found in: software-center

My release of Ubuntu:
Description: Ubuntu lucid (development branch)
Release: 10.04

Version of software-center 1.1.25

I expect that names of software and descriptions of the software is shown in my preferred language (English). I have set the language for menus and windows to English and numbers, date and currency to Swedish. This means that I prefer English for all text and only want Swedish for the regional settings.

What happens is that Software names and descriptions for some of them are shown in Swedish and some are shown in English.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: software-center 1.1.25
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Apr 11 11:57:58 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
SourcePackage: software-center

Revision history for this message
Anders Berglund (kaj-anders) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

What does the translation guys say on this. Is software center completely translatable?

Changed in software-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
David Planella (dpm) wrote :

Anders, could you tell us what the output of the 'locale' command is?

I'm thinking that this could be related to bug 553162

Changed in ubuntu-translations:
status: New → Incomplete
Revision history for this message
Anders Berglund (kaj-anders) wrote :

This is the output of the locale command:

LANG=en_US.utf8
LANGUAGE=en
LC_CTYPE=sv_SE.UTF-8
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=sv_SE.UTF-8
LC_COLLATE=sv_SE.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

When I look in the Ubuntu Software Center now the text seem like they all are in English (which I expect). Still I am not sure that this is solved though... What do you think. Strange... Could be related to the bug you mentioned because I had the exact same problems when setting the languages. The only remaining issue was the leftovers in Software Center....

David Planella (dpm)
Changed in ubuntu-translations:
status: Incomplete → Triaged
importance: Undecided → Low
Revision history for this message
Andrew (and471) wrote :

Is this software-center related? It looks like the language is set to English

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
David Planella (dpm) wrote :

It seems that the issue here is that Software Center only works as expected when using the LANGUAGE variable

Some tests, running in a non-English locale [1]:

$ LC_ALL=C software-center
$ LANG=C software-center

Expected: Software Center runs in the default POSIX locale (US English)
Result: The menus are in English, the UI is in the user's locale

$ LANGUAGE=en software-center

Expected: Software Center runs in the default POSIX locale (US English)
Result: as expected, the whole application runs in English

[1] Here's my current locale:

LANG=ca_ES.utf8
LANGUAGE=ca_ES:ca:en_GB:en
LC_CTYPE="ca_ES.utf8"
LC_NUMERIC="ca_ES.utf8"
LC_TIME="ca_ES.utf8"
LC_COLLATE="ca_ES.utf8"
LC_MONETARY="ca_ES.utf8"
LC_MESSAGES="ca_ES.utf8"
LC_PAPER="ca_ES.utf8"
LC_NAME="ca_ES.utf8"
LC_ADDRESS="ca_ES.utf8"
LC_TELEPHONE="ca_ES.utf8"
LC_MEASUREMENT="ca_ES.utf8"
LC_IDENTIFICATION="ca_ES.utf8"
LC_ALL=

Andrew (and471)
Changed in software-center (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote :

Here, software center is english but the package names and descriptions are spanish (!) even though I have switched from spanish to english long ago (see screenshot). And there are no traces of ES in the locale output!

$ locale
LANG=de_DE.utf8
LANGUAGE=en
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=

Revision history for this message
Nicola Biscardi (nicola-biscardi) wrote :

The same for me: I installed the system in Italian, but later on I turned it in English, but the name and description of the sofware center are still in Italian. (Maverick)

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Looks same as bug #434601

Kiwinote (kiwinote)
tags: added: db
Revision history for this message
atti (spamtub) wrote :

this is still actual in oneiric. i ran "LANGUAGE=en software-center", but still some package names were in Russian.

$ locale
LANG=en_US.UTF-8
LANGUAGE=en_GB:en_US:en
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=en_GB.UTF-8
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=en_GB.UTF-8
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
$

Revision history for this message
Siarhei Novik (snovik) wrote :

It is not only software center but also Update Manager. Sometimes even authorization window pulls a message in the "regional settings" language rather than GUI language.

Revision history for this message
rduke15 (rduke15) wrote :

I had this problem in 12.04 LTS Precise.

System installed in English, but later played with locale and/or GUI regional settings. After a while, I reverted everything to English, but software-center still used French for the short descriptions of packages (and English for the full descriptions).

I deleted "/var/cache/software-center/" and "/var/cache/apt-xapian-index/", which made software-center crash.

Running

    sudo apt-get --reinstall install software-center

fixed it, and everything is in the correct language.

summary: - Wrong language shown in Ubuntu Software Center
+ USC: Wrong language shown in Ubuntu Software Center
Revision history for this message
Sami Masagi (masagisam) wrote :

I think you got this bug because you have more than one language listed in the locale. So, to fix it, please follow these steps:-

1- go to the start menu and click on the System settings
2- from the pup up window click on Locale
3- Look at the Preferred Languages: section of the window
4- if there is a language other than English or your preferred language, just move it to the Available Languages: by highlighting it
and clicking on the left arrow.

That should fix the problem

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.