Your message dated Wed, 26 Sep 2012 08:57:24 +0200
with message-id <[email protected]>
and subject line Re: Bug#688836: iceweasel-l10n-all: Iceweasel language 
packages should add -UILocale xx-YY option to Exec field in .desktop file
has caused the Debian Bug report #688836,
regarding iceweasel-l10n-all: Iceweasel language packages should add -UILocale 
xx-YY option to Exec field in .desktop file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
688836: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688836
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Wed, Sep 26, 2012 at 05:55:22AM +0300, Андрій Шинкарчук wrote:
> 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.

That's just not possible.

Note that iceweasel selects the language from the current environment
locale, so if you adjust $LANG, it switches language. If your desktop
environment is not setting $LANG according to the language you chose for
it, that's a bug in your desktop environment.

Mike

--- End Message ---

Reply via email to