Language editing: Różnice pomiędzy wersjami

Z MoodleDocs
Skocz do:nawigacja, szukaj
m (1.6 note added)
m (no edit section)
Linia 2: Linia 2:
{{Moodle 1.6}}
{{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''.
Text in Moodle may be changed by editing the language strings, either via Administration >> Configuration >> Language or directly e.g. in ''datafolder/lang/en''.
__NOEDITSECTION__
==Local language pack==


==Local language pack==
{{Moodle 1.6}}
{{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:

Wersja z 22:36, 1 lut 2006

Edit strings

Szablon: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

Szablon: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:

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

See also