Language settings: Difference between revisions
Helen Foster (talk | contribs) m (→Default language: removing slashes) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Language}} | |||
There are a number of language settings for administrators in ''Settings > Site administration > Language > Language settings''. | |||
==Language autodetect== | ==Language autodetect== | ||
By default, Moodle detects a user's language from their browser setting. However, language auto-detection may be disabled so that the default site language is used instead. | |||
==Default language== | ==Default language== | ||
Line 12: | Line 12: | ||
Note: If a preferred language is set in your browser then this will override the default site language (unless language auto-detection is disabled). | Note: If a preferred language is set in your browser then this will override the default site language (unless language auto-detection is disabled). | ||
You can enable localised error messages for database connection problems by add the following line to your [[Configuration file|config.php file]]: | |||
$CFG->lang="yourlangcode"; | $CFG->lang="yourlangcode"; | ||
Line 31: | Line 31: | ||
Leave as default (Unicode) unless you have a particular reason for wanting Latin encoding. | Leave as default (Unicode) unless you have a particular reason for wanting Latin encoding. | ||
[[fr:Réglages langue]] | [[fr:Réglages langue]] | ||
[[de:Spracheinstellungen]] |
Latest revision as of 14:18, 12 May 2012
There are a number of language settings for administrators in Settings > Site administration > Language > Language settings.
Language autodetect
By default, Moodle detects a user's language from their browser setting. However, language auto-detection may be disabled so that the default site language is used instead.
Default language
This sets the default language for the site. This setting can be overridden by users using the language menu or the setting in their personal profile.
Note: If a preferred language is set in your browser then this will override the default site language (unless language auto-detection is disabled).
You can enable localised error messages for database connection problems by add the following line to your config.php file:
$CFG->lang="yourlangcode";
This sets whether the language menu is displayed on the login page and the home page. If this is turned off, the only places where a user can change the language setting is in their user profile or in the course settings if they are a teacher.
If you want to limit the number of languages students and teachers can select from, enter a reduced list here.
Sitewide locale
It's generally best to leave this setting empty, as it's set through each language pack.
Excel encoding
Leave as default (Unicode) unless you have a particular reason for wanting Latin encoding.