What it does:
The Language Picker extension provides the ability to switch between different languages within a course, making it ideal for multilingual eLearning content. The language picker can display a language selection screen on course launch where users can select their preferred language.
How to enable it:
- Go to extensions
- Search for - Language Picker
- Click the Add button
- Click on settings
- Toggle Is enabled
- Click Save
Configuring the Language Picker extension:
Browser Window Title:
The browser window option provides the ability to customise the text that will appear within the tab/window header for the course when the language picker screen is displayed.
Language Picker Title:
Allows for a title to be added to the language picker screen.
Language Picker Body text:
Provides the ability to add instruction text within the language picker screen.
Show on course load:
The language picker can be set to displayed automatically when the course loads as to allow you to pick your preferred language to complete the course within. This option is enabled by default however disabling this option will take you to the primary language version of the course when the course is launched.
Class to customise Language Picker icon in the navbar:
Provides the ability to change the icon that appears within the navigation bar for the language picker (the icon that is used to change languages within a course outside the language picker screen).
Restore course state on language change:
Enabling this option will have the course attempt to restore progress when changing the language mid course. When disabled if the course language is changed part way through the course the progress will be reset on the language that is selected.
Note: If the course structure is different between the different language, the progress may not be able to be fully retained and this can cause some of loss of progress.
Adding/Editing a selectable language to the language picker:
As stated above a language does not need to be added within the language picker as it will be added to the extension when a language is added to the course. Although if you wished to add a language to the language picker this can be done by clicking on the Add button and updating the outline settings below.
The options for a languages that had been added directly through the course can also be updated by editing the added language item by clicking on the language at the bottom of the extension as this will provide a pop out with the options that can be updated (again outlined below).
- Language Code - The code for the language, as can be seen in the table below - Must be included and matching as in the table.
- Text direction - Allows to set the direction of the language, either - left to right or right to left.
- Is disabled - Provides the ability to toggle if the language should be enabled/disabled.
- Language Name - Friendly text for the language name that will appear on the button within the language select screen - Note: By default this will be the language code.
- Confirm Title - Title for the change language screen when the language of the course is changed after the initial language has been selected - Note: By default this is not populated.
- Confirm Message - Confirmation message that appears within change language screen when the language of the course is changed after the initial language has been selected - Note: By default this is not populated.
- Prompt Buttons:
- Confirm - Text that will appear within the confirm button on the change language screen.
- Cancel - Text that will appear within the confirm button on the change language screen.
Below is a table that includes all the supported languages and the language codes, these are correct as writing this guide:
|
Language |
Code |
Language |
Code |
|---|---|---|---|
|
Albanian |
sq |
Kannada |
kn |
|
Arabic |
ar |
Kazakh |
kk |
|
Azeri (Azerbaijan) |
az-az |
Khmer |
km |
|
Bengali |
bn |
Korean |
ko |
|
Bulgarian |
bg |
Latvian |
lv |
|
Chinese (Hong Kong) |
zh-hk |
Lithuanian |
lt |
|
Chinese (Malaysia) |
zh-my |
Malay |
ms |
|
Chinese (Simplified) |
zh-hans |
Nepali |
ne |
|
Chinese (Singapore) |
zh-sg |
Norwegian |
no |
|
Chinese (Taiwan) |
zh-tw |
Polish |
pl |
|
Chinese (Traditional) |
zh-hant |
Portuguese |
pt |
|
Croatian |
hr |
Portuguese (Brazil) |
pt-br |
|
Czech |
cs |
Punjabi |
pa |
|
Danish |
da |
Romanian |
ro |
|
Dutch |
nl |
Russian |
ru |
|
English |
en |
Serbian |
rs |
|
English (United States) |
en-us |
Slovak |
sk |
|
Estonian |
et |
Slovenian |
sl |
|
Filipino |
fil |
Somali |
so |
|
Finnish |
fi |
Spanish |
es |
|
Flemish |
nl-be |
Spanish (Colombian) |
es-co |
|
French |
fr |
Spanish (Latin America) |
es-la |
|
French (Canada) |
fr-ca |
Spanish (Mexican) |
es-mx |
|
Georgian |
ka-ge |
Swahili |
sw |
|
German |
de |
Swedish |
sv |
|
Greek |
el |
Tagalog |
tl |
|
Hebrew |
he |
Tamil |
ta |
|
Hindi |
hi |
Thai |
th |
|
Hungarian |
hu |
Turkish |
tr |
|
Icelandic |
is |
Ukrainian |
uk |
|
Indonesian |
id |
Urdu |
ur |
|
Italian |
it |
Vietnamese |
vi |
|
Japanese |
ja |
Welsh |
cy |