Comment 0 for bug 778869

Fumihito YOSHIDA (hito) wrote :

Binary package hint: language-selector

This report is proxy-ed from https://forums.ubuntulinux.jp/viewtopic.php?id=11207 , thank you for original reporters.

In Natty with Japanese locales, fontconfig-voodoo -a does not create
69-language-selector-ja-jp.conf in some situation. That works in maverick.

Notes: This bug seems reproducical in ko_KR. But zh_CN/zh_TW/zh_HK

-------------------------------------------------------------------------
How to reproduce:
1) Install natty with Japanese language.
2) Open language-selector
  (e.g.: Type Alt+F2 and "gnome-language-selector")
3) exec:
 sudo rm /etc/fonts/conf.d/69-language-selector-ja-jp.conf
4) exec:
 sudo fontconfig-voodoo -a

Actual result:
 /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created.

Expected/mavericks result:
 /etc/fonts/conf.d/69-language-selector-ja-jp.conf is created.

Workaround:
 exec:
$ sudo fontconfig-voodoo -s ja_JP
-------------------------------------------------------------------------
Second face of this bug:
This behavior cause some side effects (probably critical for
non-geeky users).

1) Install natty with Japanese language.
2) Open language-selector
  (e.g.: Type Alt+F2 and "gnome-language-selector")
5) in "Language for menus and windows:" list,
   set Japanese(日本語) as your non-primary(such as 2nd of list).
6) Push [Apply System-Wide] button, and close language-selector
7) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf ,
   /etc/fonts/conf.d/69-language-selector-ja-jp.conf is erased.
   This is expected behavior, but...
8) re-open language-selector
9) in "Language for menus and windows:" list,
   set Japanese(日本語) as your primary(top of list).
10) Push [Apply System-Wide] button, and close language-selector
11) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf ,
    /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created....

So, that erase 69-language-selector-ja-jp.conf , and could not recoverable
with language-selector.
---------------------------------------------------------------------------
Im my grasp, look at affection through the lens of /etc/fonts/conf.d/,
"fontconfig-voodoo -a" same as "fontconfig-voodoo -s ja_JP".
But "fontconfig-voodoo -s ja_JP" works fine, may be something went
wrong in fontconfig-voodoo -a codes.

related configs are:

$ grep 'ja:' /usr/share/language-selector/data/langcode2locale
ja:ja_JP

$ cat /var/lib/locales/supported.d/ja
ja_JP.UTF-8 UTF-8

$ cat /var/lib/locales/supported.d/local
ja_JP.UTF-8 UTF-8
en_US.UTF-8 UTF-8

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: language-selector (not installed)
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat May 7 13:28:07 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
ProcEnviron:
 LANGUAGE=ja:en
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: language-selector
UpgradeStatus: No upgrade log present (probably fresh install)