Bug#688836: iceweasel-l10n-all: Iceweasel language packages should add -UILocale xx-YY option to Exec field in .desktop file

Андрій Шинкарчук andriy.shynkarchuk at nuos.edu.ua
Wed Sep 26 02:55:22 UTC 2012


Package: iceweasel-l10n-all
Severity: wishlist

Dear Maintainer!

I have noticed that installing of iceweasel-l10n-xx package does not
lead to automatic applying of translation and iceweasel interface
stays english (en-US).

For this issue reproducing i did following things:
- clean debian wheezy expert installation from netinst in english with
kde desktop or debian-live-kde wheezy launch with netboot
- installing kde-l10n-uk and applying localization in kde (ukrainian in my case)
- logout, then login again
- installing iceweasel (release) and iceweasel-l10n-uk from experimental
- launch iceweasel from menu
Result: iceweasel interface is english instead of ukrainian.

According to about:config list of option avaliable in user profile,
list and content of files in /usr/lib/iceweasel, user profile folder
and https://developer.mozilla.org/en-US/docs/Command_Line_Options#-UILocale_locale
Firefox (seems to me) does not store user interface localization
configuration in user profiles and/or global option files, but accepts
launch option `-UILocale xx-YY` for setting user interface language,
applying it when starting browser from command line, menu or launcher.

Thus i think such localization issue should be fixed in
`/usr/share/applications/iceweasel.desktop` file and
`/usr/lib/iceweasel/iceweasel` script.
There is `Exec` field in `/usr/share/applications/iceweasel.desktop`,
which contains by default `Exec=iceweasel %u`.
To fix issue postinstall action should be added into the
iceweasel-l10n-xx packages to rewrite default Exec field
`Exec=iceweasel %u` with `Exec=iceweasel -UILocale uk-UA %u`, where
`uk-UA` derived from language package beeing installed (ukrainian in
my case). When numerous language package are beeing installed
simultaneously package manager should ask user about preferred
language. Postinstall also should add launch option `-UILocale uk-UA`
into /usr/lib/iceweasel/iceweasel script.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-mozilla-maintainers mailing list