Can't search for translated app names
Bug #777990 reported by
Kyle Nitzsche
This bug report is a duplicate of:
Bug #794907: translated package descriptions in aptcache get reset on dbus activation.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: software-center
When the system is in Chinese/Simplified (LANGUAGE=zh_CN:en, LANG=zh_CN.UTF-8, for example), zh-hans lang packs installed, one cannot search for pkgs when entering Chinese Characters in the Software Center top right search box.
software-center 4.0
For example, I entered "word processor" in English and the expected list of pkgs was displayed. (attachment 1.png)
I then entered the Chinese/Simplified translation of "word processor" (obtained from google translate) and there are no pkgs displayed. (attachment 2.png)
summary: |
- Can't search for pkgs in Chinese/Simplified + Can't search for translated app names |
To post a comment you must log in.
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) == support -l en_US
$ export LANGUAGE=en_US
$ check-language-
$ 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 support -l zh_CN support- fonts-zh- hans language- support- input-zh- hans
$ check-language-
language-
$ 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 support -l fr support- writing- fr mythes-fr
$ check-language-
hyphen-fr language-
$ gettext -s -d software-center "Ubuntu Software Center"
Logithèque Ubuntu
$ software-center
Result: NOT FOUND. See French.png