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

Language editing: Difference between revisions

From MoodleDocs
(edit strings)
Line 9: Line 9:
To ensure that any changes are not overwritten by a new version when upgrading, you need to create your own local language pack as follows:
To ensure that any changes are not overwritten by a new version when upgrading, you need to create your own local language pack as follows:


* Copy the contents of your language folder (e.g. ''lang/en'') into a new folder (e.g. ''lang/en_local'') - you will need access to the server to achieve this step, it cannot be done from within Moodle.
* Copy the ''langconfig.php'' of your language folder (e.g. ''datafolder/lang/en'') into a new folder (e.g. ''datafolder/lang/en_local'') - you will need access to the server to achieve this step, it cannot be done from within Moodle.
* Make your local language pack the default for the site via Administration >> Configuration >> [[admin/config|Variables]]
* Make your local language pack the default for the site via Administration >> Configuration >> [[admin/config|Variables]]



Revision as of 21:46, 1 February 2006

Language

Edit strings

Text in Moodle may be changed by editing the language strings, either via Administration >> Configuration >> Language or directly e.g. in lang/en.

Local language pack

To ensure that any changes are not overwritten by a new version when upgrading, you need to create your own local language pack as follows:

  • Copy the langconfig.php of your language folder (e.g. datafolder/lang/en) into a new folder (e.g. datafolder/lang/en_local) - you will need access to the server to achieve this step, it cannot be done from within Moodle.
  • Make your local language pack the default for the site via Administration >> Configuration >> Variables

See also