Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Workplace localisation.

Workplace localisation: Difference between revisions

From MoodleDocs
No edit summary
(First version)
Line 1: Line 1:
{{Workplace}}
{{Workplace}}
=Overview=
=Overview=
Coming soon...
Localisation in Moodle covers the following three topics, all of which have been well documented:
 
* Languages
** [[Language packs]]
** [[Language menu]]
** [[Language customisation]]
** Multi-language content: '''Plugins > Filter > Multi-language content filter''' ([[Multi-language content filter|Moodle Docs]])
* Calendars: '''Appearance > Calendar''' ([[Calendar settings|Moodle Docs]])
* Time zones: '''General > Location > Location settings''' ([[Location|Moodle Docs]])
 
In this document we will only focus on Moodle Workplace-specific topics related to localisation.
 
=Language packs=
In Moodle, every locale is represented as a language pack, each containing information about the locale itself and all translations. Standardised two-letter region codes characterise locales, for example, '''pt''' represents Portuguese as spoken in Portugal, whereas '''pt_br''' represents Brazilian Portuguese. Internally, '''pt''' is the parent language, whereas '''pt_br''' is the child language, which only contains strings different from the parent language pack.
 
Moodle Workplace harnesses the concept of child languages by extending each supported language with Moodle Workplace-specific strings. Some language packs are '''en_wp''' (English), '''es_wp''' (Spanish) or '''pt_br_wp''' (Brazilian Portuguese).
[[File:Moodle Workplace Language Packs.png|border|center|frameless|900x900px]]
To view, install, and uninstall Moodle and Moodle Workplace language packs, navigate to '''General > Language > Language settings > Language packs'''. Here, only the Moodle Workplace language packs are shown by searching for 'Workplace':
[[File:Moodle Workplace Language Import Utility.png|border|center|frameless|900x900px]]
You find more details on the Language import utility in the [[Language packs|Language pack documentation]].
 
If you wish to customise a language pack, that is to change certain word or phrases, navigate to '''General > Language > Language customisation''', check out the Moodle Workplace language pack you wish to modify, and edit the relevant strings. You find more details on language editing in the [[Language customisation|Language customisation documentation]].
 
== Language menu ==
By default Moodle Workplace parent language packs are hidden in the language menu, for example, 'English (en)' is not displayed if 'English for Workplace (en_wp)' is installed. If you wish to show them, go to '''General > Language > Language settings''' and untick the '''Hide Workplace parent packs''' option.
[[File:Moodle Workplace Language menu.png|border|center|frameless|600x600px]]
 
 
For more customisation of the language menu, go to to '''General > Language > Language settings'''. Also check out the [[Language settings]] documentation.

Revision as of 07:40, 28 June 2022

workplacelogo.png This feature is part of Moodle Workplace™, which is available through Moodle Partners only.

Overview

Localisation in Moodle covers the following three topics, all of which have been well documented:

In this document we will only focus on Moodle Workplace-specific topics related to localisation.

Language packs

In Moodle, every locale is represented as a language pack, each containing information about the locale itself and all translations. Standardised two-letter region codes characterise locales, for example, pt represents Portuguese as spoken in Portugal, whereas pt_br represents Brazilian Portuguese. Internally, pt is the parent language, whereas pt_br is the child language, which only contains strings different from the parent language pack.

Moodle Workplace harnesses the concept of child languages by extending each supported language with Moodle Workplace-specific strings. Some language packs are en_wp (English), es_wp (Spanish) or pt_br_wp (Brazilian Portuguese).

Moodle Workplace Language Packs.png

To view, install, and uninstall Moodle and Moodle Workplace language packs, navigate to General > Language > Language settings > Language packs. Here, only the Moodle Workplace language packs are shown by searching for 'Workplace':

Moodle Workplace Language Import Utility.png

You find more details on the Language import utility in the Language pack documentation.

If you wish to customise a language pack, that is to change certain word or phrases, navigate to General > Language > Language customisation, check out the Moodle Workplace language pack you wish to modify, and edit the relevant strings. You find more details on language editing in the Language customisation documentation.

Language menu

By default Moodle Workplace parent language packs are hidden in the language menu, for example, 'English (en)' is not displayed if 'English for Workplace (en_wp)' is installed. If you wish to show them, go to General > Language > Language settings and untick the Hide Workplace parent packs option.

Moodle Workplace Language menu.png


For more customisation of the language menu, go to to General > Language > Language settings. Also check out the Language settings documentation.