Locales not removed when removing Chinese translations

Bug #863378 reported by Gunnar Hjalmarsson
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Triaged
Medium
Ubuntu Simplified Chinese Translators
langpack-locales (Ubuntu)
Fix Released
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.

Revision history for this message
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
Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

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 ....

Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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)
Changed in langpack-locales (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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