Locales not removed when removing Chinese translations

Bug #863378 reported by Gunnar Hjalmarsson on 2011-09-30
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Medium
Ubuntu Simplified Chinese Translators
langpack-locales (Ubuntu)
Low
Gunnar Hjalmarsson

Bug Description

I suspect it has something to do with the special language codes 'zh-hans' and 'zh-hant'. Probably it's the code in LangCache.py that needs to be tweaked.

Gunnar Hjalmarsson (gunnarhj) wrote :

The issue can be reproduced at any time, so marking the bug as "Confirmed".

Changed in language-selector (Ubuntu):
status: New → Confirmed

On a just installed Ubuntu 11.10 i get chinese in my Ubuntu i see it into installed language, but is not installed and i cannot remove from installed languages...

So to remove unwanted chinese (not installed) from terminal i do:

localedef --list-archive

to list the locales defined

and then to manually remove unwanted locales

sudo localedef --delete-from-archive ....

Gabor Kelemen (kelemeng) wrote :

Just did a fresh install, and I see something written in Chinese in the languages list, despite I have asked a Hungarian install. The packages are not installed however: the "Kínai" boxes are empty. localedef reports the presence of zh_CN and zh_SG.

Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Sergio Zanchetta (primes2h) wrote :

I've done some other tests in bug #960314, have a look please.
It could be the same as this one.

Gunnar Hjalmarsson (gunnarhj) wrote :

The bug 963460 is possibly related.

affects: language-selector (Ubuntu) → langpack-locales (Ubuntu)
Changed in langpack-locales (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Low
status: Confirmed → In Progress
Martin Pitt (pitti) on 2013-01-30
Changed in langpack-locales (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package langpack-locales - 2.13+git20120306-4

---------------
langpack-locales (2.13+git20120306-4) raring; urgency=low

  * debian/local/remove-language-pack: Handle the special language codes
    zh-hans and zh-hant correctly (LP: #863378).
 -- Gunnar Hjalmarsson <email address hidden> Wed, 30 Jan 2013 06:50:38 +0100

Changed in langpack-locales (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-translations:
assignee: nobody → Ubuntu Simplified Chinese Translators (ubuntu-l10n-zh-cn)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers