Difference between revisions of "Language editing"

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 editing.

m (no edit section)
(previous admin/lang)
Line 5: Line 5:
 
==Local language pack==
 
==Local language pack==
  
{{Moodle 1.6}}
 
 
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:
  
Line 12: Line 11:
 
* 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]].
 
* Edit only those strings you want to change with the built-in language editor, to be found in Administration >> Configuration >> Language.
 
* Edit only those strings you want to change with the built-in language editor, to be found in Administration >> Configuration >> Language.
 +
 +
==Previous admin/lang==
 +
{{Moodle 1.5}}
 +
 +
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 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.
 +
* Make your local language pack the default for the site via Administration >> Configuration >> [[admin/config|Variables]].
  
 
== See also ==
 
== See also ==
  
*[[Translation]]
+
* [[Translation]]
*[[Talk:admin/lang|Moodle 1.5 admin/lang]]
+
* Using Moodle [http://moodle.org/mod/forum/view.php?id=43 Languages forum]
  
 
[[Category: Administrator]]
 
[[Category: Administrator]]

Revision as of 14:48, 6 February 2006

Edit strings

Template:Moodle 1.6 Text in Moodle may be changed by editing the language strings, either via Administration >> Configuration >> Language or directly e.g. in datafolder/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.
  • Add a string for parentlanguage to this file, which points to the language which is the most similar to yours.
  • Make your local language pack the default for the site via Administration >> Configuration >> Variables.
  • Edit only those strings you want to change with the built-in language editor, to be found in Administration >> Configuration >> Language.

Previous admin/lang

Template:Moodle 1.5

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 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.
  • Make your local language pack the default for the site via Administration >> Configuration >> Variables.

See also