blob: 1291a680192c373efdd432749d8240f2ca17a50e (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
Firefox localization
====================
Example installation of a dutch (nl_NL) language pack. Note the use of various
versions of the locale's name: "nl" (name of the XPI file) versus "nl-NL"
(value of the config variable) versus "nl_NL" (the official ISO name).
* Install the "nl.xpi" language pack using this SlackBuild script. Create a
Slackware package using the following command (use your firefox version and
language):
# VERSION=21.0 PKGLANG=nl ./mozilla-firefox-l10n.SlackBuild
* If the Slackware locale already is set to "nl_NL" in your profile script
"/etc/profile.d/lang.sh", then you can use "about:config" to set the boolean
intl.locale.matchOS = true
which will force firefox to obey the locale setting of the OS. My package
does this for you automatically.
* If your locale is not equal to the language you want to use for firefox,
you must explicitly set the interface language. First make sure that
intl.locale.matchOS = false
or else your locale setting will always have preference, and then set:
general.useragent.locale = nl-NL
This will cause the firefox interface to show in dutch after a restart.
* Alternatively you can install this add-on to manage the language selection
in the firefox menu:
https://addons.mozilla.org/firefox/addon/locale-switcher/
Enjoy!
-----------------------------------------------------------------------------
Eric Hameleers, alien at slackware.com 22/may/2013
|