Language packs: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Downloading a language pack: clarify the generic link to latest release is for ALL OS)
m (→‎Downloading a language pack: releases.mozilla.org returns 'server not found'; replaced it with download.cdn.mozilla.net)
Line 14: Line 14:


If you are using the most recent shipping release, the quick path to the language pack .xpi file is:
If you are using the most recent shipping release, the quick path to the language pack .xpi file is:
* [http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/latest/win32/xpi/ Thunderbird] for '''all''' operating systems
* [http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/latest/win32/xpi/ Thunderbird] for '''all''' operating systems
* [http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/ Firefox] 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.

Revision as of 19:44, 7 March 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.