Your message dated Sun, 29 Apr 2007 16:12:21 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#192293: Mozilla-browser: How to set the locale system-wide?
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: mozilla-browser
Version: 2:1.3-4
Priority: wishlist
Hi, this is the maintainer of mozilla-locale-es here (provides es-ES, es-AR
and es-HN translations for Mozilla).
I have been trying to find out how to setup the locale system-wide when
installing either of these package so that users don't have to set it up
manually. I don't understand fully how Mozilla behaves in this case but I
believe the following will make it impossible to do it automatically:
$ cat /var/lib/mozilla/chrome.d/99default
skin,install,select,modern/1.0
locale,install,select,en-US
$
If I change the en-US line to 'es-XX' (with XX being one of AR, ES or HN)
and run '/usr/sbin/update-mozilla-chrome' it will work. However, I cannot
add a
locale,install,select,es-XX
line to the ' /var/lib/mozilla/chrome.d/50esXXlocale' files provided in the
packages since they are lower priority and 99default will take precedence.
I've tried to explain this issue in the README.Debian file provided with
those packages (adjointed).
Could you be so kind so as to add a README.Debian-locale file describing
how this should be handled by locale packages? (and maybe forward it to
debian-i18n and/or the maintainers of moaizlla-locale packages)
Best regards
Javier Fernandez-Sanguino
PS: I've only been able to find a reference wrt to this issue in
http://lists.debian.org/debian-devel/2002/debian-devel-200207/msg00673.html
it references a patch to do this based on LC_ALL settings. Is it the same
one that mozilla-locale-auto implements?
PPS: There are quite a number of mozilla-locale packages and I believe they
all handle this issue in a different way (haven't checked)
$ apt-cache search mozilla-locale
mozilla-locale-auto - Automatic Language/Region selection in Mozilla
mozilla-locale-ca - Mozilla Catalan Language Package
mozilla-locale-da - Mozilla danish language add-on
mozilla-locale-de-at - Mozilla German Language/Region Package.
mozilla-locale-es-ar - Mozilla Spanish Language/Region Package.
mozilla-locale-es-es - Mozilla Spanish Language/Region Package.
mozilla-locale-es-hn - Mozilla Spanish Language/Region Package.
mozilla-locale-fr - Mozilla French Language/Region Package
mozilla-locale-gl-es - Mozilla Galician Language Package
mozilla-locale-it - Mozilla Italian Language/Region Package
mozilla-locale-ja - Mozilla Japanese Language/Region Package.
mozilla-locale-ko - Mozilla Korean Language/Region Package
mozilla-locale-pl - Mozilla Polish Language/Region Package
mozilla-locale-ptbr - Mozilla Brazilian Portuguese Language/Region Package
mozilla-locale-zh-cn - Mozilla Simplified Chinese (China) language/region
pack
mozilla-locale-zh-hk - Mozilla Traditional Chinese (Hong Kong)
language/region pack
mozilla-locale-zh-tw - Mozilla Traditional Chinese (Taiwan) language/region
pack
mozilla-locale-es for DEBIAN
-------------------------------
This package does not set the Mozilla UI language system-wide.
Go to Edit->Preferences->Appearance to set the UI language. Go to
Edit->Preferences->Appearance->Content Packs to select localized
search tabs, etc.
This modifies the user preferences file (preferences are stored under
~/.mozilla/default/*/prefs.js) adding the following key:
user_pref("general.useragent.locale", "es-XX");
If you want to modify it system-wide (i.e. for all users) you need
two different things (depending if your users have already used
Mozilla or not).
If they have already used mozilla (i.e. they have a ~/.mozilla/default
directory) you need to change the /etc/mozilla/prefs.js file
adding the following key:
pref("general.useragent.locale", "es-XX");
If they have _not_ used mozilla already (they don't have a ~/.mozilla/default
directory), then it will be created with the default settings as setup
by 'chrome'. You need to do the following:
1.- edit /var/lib/mozilla/chrome.d/99default and change
locale,install,select,en-US
to
locale,install,select,es-XX
2.- execute (as root) /usr/sbin/update-mozilla-chrome
This will make sure that new users will startup with a generated profile
using the es-XX locale.
[Note: -XX can any of -ES, -AR or -HN]
Also, not all the items (like localized tabs) are translated for all
languages provided in the source package.
Proper references:
http://www.mozilla.org/projects/l10n/mlp_howto.html
http://www.asturies.com/viesca/software/mozilla/MANUAL.HTM
---------
Florian M. Weps <[EMAIL PROTECTED]>, Sat, 19 Jan 2002
Translated and adapted for mozilla-locale-es
by Javier Fernández-Sanguino Peña <[EMAIL PROTECTED]>
Wed, 07 May 2003 01:55:52 +0200
pgpBYnaphFBz2.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Package: iceape-browser
Version: 1.0.6-1
On Wed, May 07, 2003 at 01:27:18PM +0200, Javier Fernández-Sanguino Peña
<[EMAIL PROTECTED]> wrote:
> Package: mozilla-browser
> Version: 2:1.3-4
> Priority: wishlist
>
> Hi, this is the maintainer of mozilla-locale-es here (provides es-ES, es-AR
> and es-HN translations for Mozilla).
>
> I have been trying to find out how to setup the locale system-wide when
> installing either of these package so that users don't have to set it up
> manually. I don't understand fully how Mozilla behaves in this case but I
> believe the following will make it impossible to do it automatically:
(...)
Iceape, which replaces mozilla, now uses the environment set locale to
select the UI locale.
Closing this bug accordingly.
Mike
--- End Message ---