Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Language packs.

Language packs

From MoodleDocs
Revision as of 11:21, 29 May 2012 by koen roggemans (talk | contribs) (Agreed on how to write language names)

Over 90 language packs are available for an administrator to install on your Moodle site via Settings > Site administration > Language > Language packs. Simply select the languages you require from the list of available language packs and click on the "Install selected language pack" button.

Multiple language packs may be selected for install by holding down the Apple or Ctrl key whilst clicking on the language packs.

All language packs, apart from English, are stored in moodledata/lang folder.

Parent language packs

Certain language packs contain only the modified language strings from their parent language, rather than a complete set. Thus, it is necessary to install the parent language pack too. These language packs are:

  • de_du (which requires de)
  • es_mx and es_ar (which require es)
  • fr_ca (which requires fr)
  • en_us (which requires the default en)

Manual language pack installation

Language packs may also be installed manually by downloading the zip file from Moodle 2.0 language packs to a directory called lang in your moodledata directory and then unzipping.

Language pack updates

To update installed language packs, except English and any local language packs, click the 'Update all installed language packs' button in Settings > Site administration > Language > Language packs. The English language pack is updated automatically each time the site is upgraded.

Language pack names

The name of a language pack is set in core_langconfig by the use of two strings: thislanguage containing the name of the language in the language of the language pack and thislanguageint containing the name of the language in English.

Usually there is no need for any additions to the language name, but if it is necessary, we use as structure in thislanguageint "Language - Country" and "Language (variant)

  • es_mx is Spanish - Mexico: the Spanish variant spoken in Mexico
  • en_kids is English (kids): the standard English variant for young children.

How to write the language name in thislanguage can be chosen by the language pack maintainer.

See also