Note: You are currently viewing documentation for Moodle 3.3. Up-to-date documentation for the latest stable version of Moodle is probably available here: Moodle Mobile language strings customisation.

Moodle Mobile language strings customisation: Difference between revisions

From MoodleDocs
m (Added link to spanish translation of page)
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]:


On each line at the left (before the colons), is the string identifier.  
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:

Mobile string identifiers list examples.png

In the same line, at the right of the colons is the language string (in this case in English)