Moodle Mobile language strings customisation: Difference between revisions
m (Added link to spanish translation of page) |
(Added File:Mobile string identifiers list examples.png as an example) |
||
Line 8: | Line 8: | ||
For a complete list of string identifiers see [https://raw.githubusercontent.com/moodlehq/moodlemobile-phonegapbuild/master/build/lang/en.json this file]: | For a complete list of string identifiers see [https://raw.githubusercontent.com/moodlehq/moodlemobile-phonegapbuild/master/build/lang/en.json this file]: | ||
There, in each line at the left (before the colons), is the string identifier. See the following example: | |||
[[File:Mobile string identifiers list examples.png|300px]] | |||
In the same line, at the right of the colons is the language string (in this case in English) | In the same line, at the right of the colons is the language string (in this case in English) |
Revision as of 15:24, 27 January 2017
Words and phrases displayed in the app can be customised via the "Custom language strings" (customlangstrings) setting in Administration > Site administration > Mobile app > Mobile features
Enter each custom language string on a new line with format: string identifier, custom language string and language code, separated by pipe characters. For example:
mm.user.student|Learner|en mm.user.student|Aprendiz|es
For a complete list of string identifiers see this file:
There, in each line at the left (before the colons), is the string identifier. See the following example:
In the same line, at the right of the colons is the language string (in this case in English)