- 06 Aug 2024
- 2 minutes to read
Language settings
- Updated on 06 Aug 2024
- 2 minutes to read
Site Administrators can set language defaults across the site via Quick-access menu > Localisation > Language settings.
Setting | Description | Notes |
---|---|---|
Language autodetect | Select whether you want Totara to detect the user's default language from their browser settings. If this option is disabled, the site default language is used. | Users can change their preferred language via their User preferences. |
Default language | Choose a default language for the whole site. | Users can override this setting using the language menu, or the setting in their personal profile. The dropdown menu will display all installed language packs. |
Display language menu | Choose whether or not you want to display the general-purpose language menu on the home page, login page, etc. | This does not affect the user's ability to set their preferred language in their User preferences. |
Languages on the language menu | Leave this blank to allow users to choose from any language you have in this installation of Totara, or create a custom language menu by entering a comma-separated list of language codes, e.g. en, fr, de, nl. | Language codes have a two- or four-letter format. For example:
Language codes are shown in brackets after the language pack name. |
Cache language menu | If enabled, the list of available translations is cached. The cache is automatically refreshed when you install or delete a language pack via the in-built language pack management tool. If you install a new language pack manually, you have to use the Purge all caches feature to refresh the cached list. | Purge all caches can be found under Quick-access menu > Development > Purge all caches. |
Cache all language strings | Caches all the language strings into compiled files in the data directory. If you are translating Totara or changing strings in the Totara source code then you may want to switch this off. Otherwise, leave it on to see performance benefits. | - |
Site-wide locale | Choose a site-wide locale. This will override the format and language of dates for all language packs (though names of days in the calendar are not affected). | You need to have this locale data installed on your operating system (e.g. for Linux en_US.UTF-8 or es_ES.UTF-8). In most cases this field should be left blank. |
Excel encoding | Choose the encoding for Excel exports. It is recommended you leave this setting as the default (Unicode) unless you have a particular reason for needing Latin encoding. | - |