Language packs: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(categorize)
m (adding External link to mozilla.com Firefox article)
Line 36: Line 36:
On a Windows system the entire command might look something like:
On a Windows system the entire command might look something like:
  C:\Program Files\Mozilla\Thunderbird\thunderbird.exe -uilocale fr
  C:\Program Files\Mozilla\Thunderbird\thunderbird.exe -uilocale fr
==External links==
*[http://support.mozilla.com//kb/Changing+the+language+pack Changing the language pack (Firefox)] at support.mozilla.com


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

Revision as of 14:09, 23 January 2008

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

For example, you have an English version of Thunderbird. The first button on Thunderbird's toolbar has the label "Get Mail" and the tooltip "Get new messages". Now you install the French language pack and switch the user interface to French. 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

To download a language pack:

  1. Go to: http://releases.mozilla.org/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.
  4. Go to the directory for the release you are using—for example: Thunderbird 1.5.0.8
  5. Go to the directory for your operating system—for example: win32
  6. Go to the xpi directory there.
  7. Install the xpi for the language, or language and region, that you want. For example, the French language pack is: fr.xpi

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.

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

External links