Language FAQ: Difference between revisions
Frank Ralf (talk | contribs) |
Helen Foster (talk | contribs) (I've set a default site language but when I log in it switches to English. Why?) |
||
Line 28: | Line 28: | ||
==The month names and days are displayed in English. How can I translate them?== | ==The month names and days are displayed in English. How can I translate them?== | ||
Names of days and months are pulled out of your operating system. The system is configured for Moodle in langconfig.php where you have the strings ''locale'' (for -nix type operating systems) and ''localewin'' (for Windows operating systems) that should point to the right locale on your server. Your server operating system should support the language (= locale should be installed) - see also [http://moodle.org/mod/forum/discuss.php?d=79792 Month-name translation problem] for an alternative | Names of days and months are pulled out of your operating system. The system is configured for Moodle in langconfig.php where you have the strings ''locale'' (for -nix type operating systems) and ''localewin'' (for Windows operating systems) that should point to the right locale on your server. Your server operating system should support the language (= locale should be installed) - see also [http://moodle.org/mod/forum/discuss.php?d=79792 Month-name translation problem] for an alternative solution. | ||
==I've set a default site language but when I log in it switches to English. Why?== | |||
By default, Moodle detects a user's language from their browser setting. This language auto-detection may be disabled so that the default site language is used instead in ''Administration > Language > [[Language settings]]''. | |||
== See also == | == See also == |
Revision as of 15:32, 30 August 2010
Where can I set the default language for the site?
Site Administration > Language > Language settings
How can I change a word or phrase used in Moodle?
- Access Administration > Language > Language editing.
- Click the "Edit words or phrases" link in the middle of the page.
- On the edit words or phrases page click the "Switch lang directory" button and a local language folder, parentlanguage_local, will automatically be created in moodledata/lang. Files of edited strings will then be saved in this folder. This is necessary to prevent changes that you make being overwritten by a newer language pack when updating your Moodle site.
- Choose a file to edit. You may need to search through a few files before finding the file containing the word you wish to change. The file moodle.php contains all common site-wide phrases.
- Change the word or phrase.
- Click the "Save changes" button. The changed phrase will be highlighted in a different colour.
I'd like to help improve an existing language pack. Where do I start?
You can contact the maintainer of the language pack and ask where you can help. See Translation credits for a list of translators. The top name of each language pack is the current language pack maintainer. If you don't get any response, you can email translation@moodle.org.
Another option is to check whether your language has a community discussion course - see http://moodle.org/course/category.php?id=3 - and if so, post in a forum.
I've found an error in a language pack. Who do I contact?
Please contact the language pack maintainer. See Translation credits for contact details.
Another option is to check whether your language has a community discussion course - see http://moodle.org/course/category.php?id=3 - and if so, post in a forum.
Why are my changes not saved if I edit a language pack with the Moodle language pack editor?
This could be caused by a PHP accelerator. Try switching it of (usually in php.ini).
The month names and days are displayed in English. How can I translate them?
Names of days and months are pulled out of your operating system. The system is configured for Moodle in langconfig.php where you have the strings locale (for -nix type operating systems) and localewin (for Windows operating systems) that should point to the right locale on your server. Your server operating system should support the language (= locale should be installed) - see also Month-name translation problem for an alternative solution.
I've set a default site language but when I log in it switches to English. Why?
By default, Moodle detects a user's language from their browser setting. This language auto-detection may be disabled so that the default site language is used instead in Administration > Language > Language settings.
See also
- Using Moodle Languages forum
- Language editing
- Using Moodle Edited Strings Not Visible forum discussion