Translations of .desktop files are not loaded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Netbook Remix Launcher |
Invalid
|
Critical
|
Unassigned | ||
Ubuntu Translations |
Fix Released
|
High
|
Unassigned | ||
netbook-launcher (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Karmic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: netbook-launcher
In the Karmic UNR nearly all shortcuts to applications in the right panel and all categories in the left tabs panel appear untranslated.
Those translations come from each application's .desktop files, which in Ubuntu are stripped from the original files and put into the application's .mo files shipped in the language packs. Those translations are then not read from the .desktop files themselves, but loaded at runtime from the .mo files.
Due to this, glib has been patched in Ubuntu for some time in order to implement this functionality (through which e.g. gnome-panel loads the .desktop file translations), and in fact the Jaunty version of UNR did correctly load the .desktop translations this way.
The attached screenshot shows the effect of this bug: untranslated application shortcuts and menus on the left with a Catalan locale. Note though, that pressing Alt+F1 to show the main menus in gnome-panel displays all translations correctly.
Note that the netbook-launcher translations have not yet been released in the language packs, but I believe this bug is not directly related to this, but rather to how the .desktop file translations are loaded.
Changed in netbook-remix-launcher: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in netbook-remix-launcher: | |
status: | Triaged → Invalid |
milestone: | none → ubuntu-9.10-ui-freeze |
Changed in netbook-launcher (Ubuntu Karmic): | |
status: | Triaged → Invalid |
Changed in ubuntu-translations: | |
status: | Confirmed → Fix Released |
Weird, I see this, but am having a worse problem that only a very small subset of strings are translated (not even the gnome-menu!) Maybe the LANG variable isn't being set properly, because if launch the launcher form my desktop like:
$ LANG=ca_ES.utf8 netbook-launcher -w
It works fine (karmic desktop).