All keyboard types in "Keyboard layout" are not localized during installation

Bug #1330410 reported by shijing
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Kylin
Fix Released
High
Anthony Wong
console-setup (Ubuntu)
Fix Released
Undecided
Unassigned
ubiquity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

系 统:UK 14.10 dailybuild 32 位 6-15
机器型号:vritualbox
现 象: 安装过程中键盘布局页面所有的键盘布局类型没有汉化

Revision history for this message
shijing (shijing) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1330410

tags: added: iso-testing
shijing (shijing)
Changed in ubuntukylin:
status: New → Confirmed
Changed in ubuntukylin:
importance: Undecided → Medium
Revision history for this message
Anthony Wong (anthonywong) wrote :

Looks like this is a regression.

Changed in ubuntukylin:
importance: Medium → High
summary: - 安装过程中键盘布局页面所有的键盘布局类型没有汉化
+ All keyboard types in "Keyboard layout" are not localized during
+ installation
Revision history for this message
Anthony Wong (anthonywong) wrote :

@shijing
Please verify with Ubuntu 14.10 daily.

Revision history for this message
shijing (shijing) wrote :

@anthony
ubuntu 1410 64bit ,all the "keyboard layout" are not loacized.

Revision history for this message
shijing (shijing) wrote :

@anthony
ubuntu 1410 64bit ,all the "keyboard layout" are not loacized.

tags: added: l10n
Changed in ubuntukylin:
milestone: none → utopic-final
Ma Jun (maclin.jun)
Changed in ubuntukylin:
assignee: nobody → kobe (kobe24-lixiang)
Revision history for this message
kobe (kobe24-lixiang) wrote :

我分别安装了1404和1410的ubiquity,调试发现键盘布局显示都跟/var/lib/dpkg/info/keyboard-configuration.config这个配置文件的内容有关,在1404中,这个文件对应的语言都有其对应的语种翻译文字,而在1410里面,则没有对应的语种翻译,全是对应的英文.

Revision history for this message
kobe (kobe24-lixiang) wrote :

1410

Revision history for this message
kobe (kobe24-lixiang) wrote :

1404

Revision history for this message
Anthony Wong (anthonywong) wrote :

@shijing
Does this bug still exist in 14.10?

Changed in ubuntukylin:
milestone: utopic-rc → vivid-alpha1
status: Confirmed → Incomplete
Revision history for this message
Jack Yu (jackyu) wrote :

Still exists.

Changed in ubuntukylin:
status: Incomplete → New
assignee: kobe (kobe24-lixiang) → nobody
assignee: nobody → Anthony Wong (anthonywong)
Revision history for this message
Anthony Wong (anthonywong) wrote :

translation #9 to english:

keyboard layouts shown are related to /var/lib/dpkg/info/keyboard-configuration.config, and localized strings are stored in this file. In 14.10, everything in the file is English, no strings have been localized.

Revision history for this message
Anthony Wong (anthonywong) wrote :

Unlike the trusty package, DEBIAN/config in the utopic package lacks all the translated strings.

I rebuilt lp:ubuntu/console-setup in a vivid chroot, and found that the DEBIAN/config file is properly localized. Perhaps there's something wrong during the package build of the utopic package.

For reference, I am attaching the DEBIAN/config files of the utopic package and the package I built.

Revision history for this message
Anthony Wong (anthonywong) wrote :
Revision history for this message
Anthony Wong (anthonywong) wrote :
Changed in ubuntukylin:
status: New → Triaged
Changed in ubiquity (Ubuntu):
status: New → Invalid
Revision history for this message
Anthony Wong (anthonywong) wrote :

I use pbuilder to build in a utopic chroot, find that DEBIAN/config *is* translated, this is different from the package in our utopic archive.

I also tested to build console-setup 1.70ubuntu9 in a PPA with the recipe [1] for Trusty, Utopic and Vivid, and the DEBIAN/config files of these packages are *NOT* translated.

[1] https://code.launchpad.net/~anthonywong/+recipe/console-setup-utopic

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Can you please elaborate?

I'm downloading console-setup from https://launchpad.net/ubuntu/+source/console-setup/1.70ubuntu9/+build/6047796 which is the current version published in the archive, and DEBIAN/templates appear to be translated to me correctly. Rebuilding the package locally here results the same result.

Can you advise which locale are you running installer and which strings / template name appear to not be translated? Is there a translation available of the untranslated template?

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Translated keyboard names appear to have been explicitely disabled in ubiquity:
http://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/revision/6210

Due to https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1182784

Which appears to have regressed the installer https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1373033

I'll would like Jonathan Riddell and Scott Kitterman to comment.

Revision history for this message
Anthony Wong (anthonywong) wrote :

xnox, the problem is the translation of keyboard model names, not debconf templates.

I checked by extracting the debian package with ar and then untar control.tar.gz.

These are snippets of diff'ing the "config" files of trusty and utopic packages:

-zh_CN*model*acer_c300*宏碁 C300
-zh_CN*model*acer_ferrari4k*宏碁法拉利 4000
-zh_CN*model*acer_laptop*宏碁笔记本电脑
+zh_CN*model*acer_c300*Acer C300
+zh_CN*model*acer_ferrari4k*Acer Ferrari 4000
+zh_CN*model*acer_laptop*Acer Laptop

-zh_CN*layout*af*阿富汗
-zh_CN*layout*al*阿尔巴尼亚
-zh_CN*layout*am*亚美尼亚语
-zh_CN*layout*ara*阿拉伯语
-zh_CN*layout*at*德语(奥地利)
-zh_CN*layout*az*阿塞拜疆语
-zh_CN*layout*ba*波斯尼亚语
+zh_CN*layout*af*Afghani
+zh_CN*layout*al*Albanian
+zh_CN*layout*am*Armenian
+zh_CN*layout*ara*Arabic

-zh_CN*variant*be**比利时语
+zh_CN*variant*be**Belgian

Revision history for this message
Jonathan Riddell (jr) wrote :

I removed using the translated names for keyboard layouts from the Qt frontend as it was causing crashes. The GTK frontend has never translated them.

Patches to add this feature in would be welcome but it needs to be well tested to make sure none of the crashes come back.

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1330410] Re: All keyboard types in "Keyboard layout" are not localized during installation

Heya,

On 1 December 2014 at 04:23, Anthony Wong <email address hidden> wrote:
> xnox, the problem is the translation of keyboard model names, not
> debconf templates.
>
> I checked by extracting the debian package with ar and then untar
> control.tar.gz.
>
> These are snippets of diff'ing the "config" files of trusty and utopic
> packages:
>

I see. Can you please check the
https://launchpad.net/ubuntu/+source/console-setup/1.70ubuntu10 build?

They should be translated now at the package .deb / .udeb level now.

> -zh_CN*model*acer_c300*宏碁 C300
> -zh_CN*model*acer_ferrari4k*宏碁法拉利 4000
> -zh_CN*model*acer_laptop*宏碁笔记本电脑
> +zh_CN*model*acer_c300*Acer C300
> +zh_CN*model*acer_ferrari4k*Acer Ferrari 4000
> +zh_CN*model*acer_laptop*Acer Laptop
>
> -zh_CN*layout*af*阿富汗
> -zh_CN*layout*al*阿尔巴尼亚
> -zh_CN*layout*am*亚美尼亚语
> -zh_CN*layout*ara*阿拉伯语
> -zh_CN*layout*at*德语(奥地利)
> -zh_CN*layout*az*阿塞拜疆语
> -zh_CN*layout*ba*波斯尼亚语
> +zh_CN*layout*af*Afghani
> +zh_CN*layout*al*Albanian
> +zh_CN*layout*am*Armenian
> +zh_CN*layout*ara*Arabic
>
> -zh_CN*variant*be**比利时语
> +zh_CN*variant*be**Belgian
>
> --
> You received this bug notification because you are a member of Ubuntu
> Installer Team, which is subscribed to console-setup in Ubuntu.
> https://bugs.launchpad.net/bugs/1330410
>
> Title:
> All keyboard types in "Keyboard layout" are not localized during
> installation
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntukylin/+bug/1330410/+subscriptions

--
Regards,

Dimitri.

Revision history for this message
Anthony Wong (anthonywong) wrote :

Awesome, 1.70ubuntu10 is translated.

Revision history for this message
Ma Jun (maclin.jun) wrote :

This problem has been fixed in the latest ISO of Ubuntu Kylin, so I mark it as released.

Changed in ubuntukylin:
status: Triaged → Fix Released
Changed in console-setup (Ubuntu):
status: New → Fix Released
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.