panel does not pick up preseeded locale/translation

Bug #812988 reported by Kyle Nitzsche on 2011-07-19
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Undecided
Unassigned
ubiquity (Ubuntu)
Undecided
Unassigned

Bug Description

Natty.
Ubiquity version 2.6.10

/usr/lib/ubiquity/panel does not pick up preseeded locale (zh_CN).

So, default panel indicator applets (network-manager-gnome, indicator-sound, and indicator-session) are all in English after installation and before oem-config runs/completes. After oem-config completes, the applets are all in the right locale/translation.

(ibus applet IS in zh_CN, I think because it starts later and picks up the locale)

In another tty after install and before moving along in oem-config:
LANGUAGE=zh_CN
locale shows all key values in zh_CN
language-pack-zh-hans (and depends) is installed (I install this at image build time)

And, as verification that the translation chain is intact for an indicator app, I can display a zh_CN translation from indicator-sound at the command line in tty 5 after install and before oem-config with:
gettext -s -d indicator-sound "Sound Preferences..."
(it displays zh_CN translation from /usr/share/locale-langpack/LC_MESSAGES/indicator-sound.mo)

Mario Limonciello (superm1) wrote :

this patch should fix it, but i'd like ev or cjwatson to comment on it before committing

tags: added: patch
Changed in ubiquity (Ubuntu):
status: New → Confirmed
Gary Ekker (gekker) on 2011-11-03
tags: added: qin
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers