Difference between revisions of "Language packs"

Jump to: navigation, search

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

([https://download.moodle.org/langpack/2.2/ Language packs for Moodle 2.2])
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Moodle 1.6}}
+
{{Language}}
Desired language packs may be selected from the list in the right pane and installed directly. Updating the language packs can now easily be done by following the update link.
+
==Language pack installation==
  
* the new location for lang files is '''$CFG->dataroot/lang'''
+
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.
 +
 +
Language packs are a work-in-progress, since new language strings are added for new features in each new version of Moodle. [https://download.moodle.org/langpack/2.2/ Language packs for Moodle 2.2] lists the percentage of language strings translated in each language pack.
 +
 +
==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==
 +
 +
In general, the easiest way to install additional language packs is from within Moodle. However, it is also possible to install a language pack manually by downloading the zip file from [https://download.moodle.org/langpack/2.2/ Language packs for Moodle 2.2] and unzipping it to a directory called ''lang'' in your ''moodledata'' directory.
 +
 +
==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==
 
==See also==
  
*[[Upgrading to Moodle 1.6]]
 
 
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=48492 Language import utility broken] forum discussion
 
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=48492 Language import utility broken] forum discussion
 +
*List of [http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes language codes] on Wikipedia
  
[[Category: Administrator]]
+
[[eu:Hizkuntza-paketeak]]
[[Category:Language]]
+
[[fr:Paquetages de langue]]
 
+
[[ja:言語インポートユーティリティ]]
 +
[[de:Sprachpakete]]
 
[[zh:语言倒入工具]]
 
[[zh:语言倒入工具]]

Latest revision as of 15:02, 15 September 2014

Language pack installation

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.

Language packs are a work-in-progress, since new language strings are added for new features in each new version of Moodle. Language packs for Moodle 2.2 lists the percentage of language strings translated in each language pack.

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

In general, the easiest way to install additional language packs is from within Moodle. However, it is also possible to install a language pack manually by downloading the zip file from Language packs for Moodle 2.2 and unzipping it to a directory called lang in your moodledata directory.

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