Talk:Language editing: Difference between revisions
Helen Foster (talk | contribs) (lang editing in Moodle 1.5 - text moved from Language editing) |
|||
Line 23: | Line 23: | ||
--[[User:koen roggemans|koen roggemans]] 09:04, 19 August 2007 (CDT) | --[[User:koen roggemans|koen roggemans]] 09:04, 19 August 2007 (CDT) | ||
==Language editing in Moodle 1.5== | |||
Text in Moodle 1.5 may be changed by editing the language strings, either via ''Administration > Configuration > Language'' or directly e.g. in ''lang/en''. | |||
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''. | |||
--[[User:Helen Foster|Helen Foster]] 09:01, 20 January 2008 (CST) |
Revision as of 15:01, 20 January 2008
Double brackets
It seems to me there should be a mention somewhere of why sometimes you might see double brackets [[like this]], but I'm not quite sure what the most appropriate place might be.--N Hansen 10:48, 9 February 2006 (WST)
- Yes, you're right. The information could also be added to Administration FAQ. --Helen Foster 17:10, 6 July 2006 (WST)
Ability to edit language files in non-standard locations
TODO: Ability to edit language files in non-standard locations... Yes, that would be nice, since more and more 3rd-party modules carry their own language files in their folders, and the translation system does not yet apply to them.
Correct paths?
"# From Moodle 1.9 onwards, only users with the capability moodle/site:langeditmaster may modify the master language packages (i.e. those being saved in moodledata/lang/). It is prevented from all roles by default. It is expected that only language maintainers will manually allow this to themselves.
- From Moodle 1.9 onwards, only users with the capability moodle/site:langeditlocal may customize the site translation (i.e. files being saved in moodledata/lang_local/)."
I've just tried this out on a test 1.9 install. Should the reference to "moodledata/lang" be "moodle/lang"?
No Ray. It's correct. Since 1.6, all languages except en_utf8, moved to the moodledata folder. This makes it possible to edit them and and download new versions through Moodle without running into problems with security settings.
--Koen roggemans 09:04, 19 August 2007 (CDT)
Language editing in Moodle 1.5
Text in Moodle 1.5 may be changed by editing the language strings, either via Administration > Configuration > Language or directly e.g. in lang/en.
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.
--Helen Foster 09:01, 20 January 2008 (CST)