Language packs: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(update links, wording)
(→‎Assigning a language to a profile: link changed per viewtopic.php?p=12950387)
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:


==Downloading a language pack==
==Downloading a language pack==
If you are using the most recent shipping release, the quick quick path to the language pack .xpi file is:
* [http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/latest/win32/xpi/ Thunderbird]
* [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/ Firefox]
'''Note: ''' To install a language pack in Thunderbird, '''do not''' click the link to the xpi file.  Instead, open Thunderbird's Extensions or Add-ons window, then drag the link from your browser and drop it there.  Alternatively, save the xpi file on your computer and install it in Thunderbird later.
'''Note: ''' To install a language pack in Thunderbird, '''do not''' click the link to the xpi file.  Instead, open Thunderbird's Extensions or Add-ons window, then drag the link from your browser and drop it there.  Alternatively, save the xpi file on your computer and install it in Thunderbird later.
If you are using the most recent shipping release, the quick path to the language pack .xpi file is:
* [http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/latest/win32/xpi/ Thunderbird] for '''all''' operating systems
* [http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/latest/win32/xpi/ Firefox] for '''all''' operating systems


Otherwise, to download a language pack for  your release:
Otherwise, to download a language pack for  your release:
# Go to: http://releases.mozilla.org/pub/mozilla.org/
# Go to: http://download.cdn.mozilla.net/pub/mozilla.org/
# Go to the directory there for the Mozilla application you want to change—for example: [http://releases.mozilla.org/pub/mozilla.org/thunderbird/ thunderbird]
# Go to the directory there for the Mozilla application you want to change—for example: [http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/ thunderbird]
# Go to the <tt>releases</tt> directory.&mdash;for example: [http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/ thunderbird]
# Go to the <tt>releases</tt> directory.&mdash;for example: [http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/ thunderbird]
# Go to the directory for your release
# Go to the directory for your release
# Go to the directory for your operating system.
# Go to the directory for your operating system.
# Go to the <tt>xpi</tt> directory there.
# Go to the <tt>xpi</tt> directory there.
# [[Installing extensions|Install]] the xpi for the language, or language and region, that you want.
# [[Installing extensions|Install]] the xpi for the language, or language and region, that you want.
'''Note:&nbsp;''' To install a language pack in Thunderbird, '''do not''' click the link to the xpi file.  Instead, open Thunderbird's Extensions or Add-ons window, then drag the link from your browser and drop it there.  Alternatively, save the xpi file on your computer and install it in Thunderbird later.


==Assigning a language to a profile==
==Assigning a language to a profile==
Line 31: Line 31:
For example, to use French you can specify the locale as <tt>fr</tt> or <tt>fr-FR</tt>.
For example, to use French you can specify the locale as <tt>fr</tt> or <tt>fr-FR</tt>.


'''Note:&nbsp;''' If you often switch locales, there is a [http://benjamin.smedbergs.us/switch-locales/ Locale-Switcher] extension to make it easier.
'''Note:&nbsp;''' If you often switch locales, there is a [https://addons.mozilla.org/firefox/addon/locale-switcher/ Locale-Switcher] extension to make it easier.


==Assigning a language in a command or icon==
==Assigning a language in a command or icon==
Line 43: Line 43:


==See also==
==See also==
Note: as of 9/2010, the lists of language packs at AMO are fairly outdated.
Note: as of 9/2010, the lists of language packs at AMO are fairly outdated.<br>
[https://addons.mozilla.org/en-US/thunderbird/language-tools/ Thunderbird Dictionaries and language packs at addons.mozilla.org]  
* [https://addons.mozilla.org/en-US/thunderbird/language-tools/ Thunderbird Dictionaries and language packs at addons.mozilla.org] <br>
[https://addons.mozilla.org/en-US/firefox/language-tools/ Firefox Dictionaries and language packs at addons.mozilla.org]
* [https://addons.mozilla.org/en-US/firefox/language-tools/ Firefox Dictionaries and language packs at addons.mozilla.org]


[[Category:Configuration]]
[[Category:Configuration]]

Latest revision as of 13:12, 3 July 2013

A language pack is an extension (add-on) that changes the language of the user interface in a Mozilla application (Firefox, Thunderbird, SeaMonkey, etc.).

For example, if you have an English version of Thunderbird, then the first button on Thunderbird's toolbar has the label "Get Mail" and the tooltip "Get new messages". But if you install the French language pack and switch the user interface to French, then the first button on Thunderbird's toolbar has the new label "Relever" and the tooltip "Relever les nouveaux messages".

When you install a language pack, you can assign a different user-interface language to each profile that you use. Alternatively, you can assign a different user-interface language to each command or icon that you use to start the Mozilla application.

Notes:

  • This article does not apply to the content of web pages or e-mails.
  • This article does not apply to the spelling checkers. To check spelling in another language, download a dictionary.
  • You can also change the user interface language by downloading and installing the entire Mozilla application in the language you want to use.

Downloading a language pack

Note:  To install a language pack in Thunderbird, do not click the link to the xpi file. Instead, open Thunderbird's Extensions or Add-ons window, then drag the link from your browser and drop it there. Alternatively, save the xpi file on your computer and install it in Thunderbird later.

If you are using the most recent shipping release, the quick path to the language pack .xpi file is:

Otherwise, to download a language pack for your release:

  1. Go to: http://download.cdn.mozilla.net/pub/mozilla.org/
  2. Go to the directory there for the Mozilla application you want to change—for example: thunderbird
  3. Go to the releases directory.—for example: thunderbird
  4. Go to the directory for your release
  5. Go to the directory for your operating system.
  6. Go to the xpi directory there.
  7. Install the xpi for the language, or language and region, that you want.

Assigning a language to a profile

To assign a user-interface language to a profile, set the preference general.useragent.locale to the name of the locale that you want to use. The name of the locale is usually the same as the name of the language pack that you installed (without the .xpi extension).

For example, to use French you can specify the locale as fr or fr-FR.

Note:  If you often switch locales, there is a Locale-Switcher extension to make it easier.

Assigning a language in a command or icon

To assign a user-interface language to an icon that launches your Mozilla application, look in the icon's properties to find the command there.

To assign a user-interface language in a command, add the switch -uilocale followed by the name of the locale.

For example, to use French you can specify either: -uilocale fr or -uilocale fr-FR. On a Windows system the entire command might look something like:

"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" -uilocale fr

See also

Note: as of 9/2010, the lists of language packs at AMO are fairly outdated.