Further investigation leads me to propose that searching for any
application name in a non-English language fails, so this may not be a
Chinese-specific problem. I think this is a critical issue.

I would expect that a user should be able to search in Software Center
for an application using its translated Name (where the Name is that
found in the .desktop file, translated).

It is reasonable to assume that langauge packs providing translations
(language-pack-<code>, language-pack-gnome-<code>) must be installed
(although I would assumed support and writing aids should not be
required).

Test procedure:

Tests will seach for Ubuntu Software Center application in various
lanuages

1) Verify the required lang packs installed with 'check-language-support
-l <code>'. This command returns the missing language packs.

2) Switch the terminal session to the target language for testing with
'export LANGUAGE=<code>'

3) Get software-center's translation domain (from it's desktop file). It
is: software-center

4) Obtain software-center's translated application name at the command
line with gettext: 'gettext -s -d  software-center "Ubuntu Software
Center"'

5) Launch software-center from the terminal

6) Enter the translated application name into the software center search
box, take screenshot.

Expectation is that the application is found and displayed.

Results are that only English Ubuntu Software Center application name is
found.

Test details follow

== Test English (code is en_US) == 
$ export LANGUAGE=en_US
$ check-language-support -l en_US
$ gettext -s -d  software-center "Ubuntu Software Center"
Ubuntu Software Center
$ software-center

Result: FOUND. See English.png

== Test Chinese/Simplified (code is zh_CN) ==

$ export LANGUAGE=zh_CN
$ check-language-support -l zh_CN
language-support-fonts-zh-hans language-support-input-zh-hans
$ gettext -s -d  software-center "Ubuntu Software Center"
Ubuntu 软件中心
$ software-center

Result: NOT FOUND. See Chinese_Simplified.png

== Test: French (code fr) ==

$ export LANGUAGE=fr
$ check-language-support -l fr
hyphen-fr language-support-writing-fr mythes-fr
$ gettext -s -d  software-center "Ubuntu Software Center"
Logithèque Ubuntu
$ software-center 

Result: NOT FOUND. See French.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/777990

Title:
  Can't search for pkgs in Chinese/Simplified

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to