Languages
Available languages, default language, and how Chamilo resolves which language to display.
Access these settings under Administration > Configuration settings > Languages. This category contains 12 settings, listed below with the title and comment shipped in the platform's settings fixtures (SettingsCurrentFixtures.php).
The variable name in code is shown in monospace. Use it when scripting via the API or when you need to change those settings at a global level by editing
config/settings_override.yaml.
Settings
allow_course_multiple_languages
allow_course_multiple_languagesMultiple-language courses
Enable courses managed in more than one language. This option adds a language selector within the course page to let users switch easily, and adds a 'multiple_language' extra field to courses which allows for remote management procedures.
Default: false
allow_use_sub_language
allow_use_sub_languageAllow definition and use of sub-languages
By enabling this option, you will be able to define variations for each of the language terms used in the platform's interface, in the form of a new language based on and extending an existing language. You'll find this option in the languages section of the administration panel.
Default: false
auto_detect_language_custom_pages
auto_detect_language_custom_pagesEnable language auto-detect in custom pages
If you use custom pages, enable this if you want to have a language detector there present the page in the user's browser language, or disable to force the language to be the default platform language.
Default: true
language_flags_by_country
language_flags_by_countryLanguage flags
Use country flags for languages. This is not enabled by default because some languages are not strictly attached to a country, which can lead to frustration for some users.
Default: false
language_priority_1
language_priority_1Highest priority language
Primary language selected when multiple language contexts are set.
Default: course_lang
language_priority_2
language_priority_2Secondary priority language
Secondary fallback language if first priority is unavailable or out of context.
Default: user_profil_lang
language_priority_3
language_priority_3Third priority language
Tertiary language fallback if higher priorities fail.
Default: user_selected_lang
language_priority_4
language_priority_4Fourth priority language
Last language fallback option by order of priority.
Default: platform_lang
platform_language
platform_languageDefault platform language
Main language, used by default when no user language is set.
Default: en
show_different_course_language
show_different_course_languageShow course languages
Show the language each course is in, next to the course title, on the homepage courses list
Default: true
show_language_selector_in_menu
show_language_selector_in_menuLanguage switcher in main menu
Display a language selector in the main menu that immediately updates the language preference of the user. This can be useful in multilingual portals where learners have to switch from one language to another for their learning.
Default: true
template_activate_language_filter
template_activate_language_filterMultiple-language document templates
Enable document templates (at the platform or course level) to be configured for specific languages.
Default: false
Last updated
Was this helpful?