Lock Android v2 Internationalization


By default, Lock.Android displays all text in English. If you wish to display text in another language, you may provide a strings.xml file and define values to be used for the various text items that Lock might display.

Android asks the device what locale was configured by the user and tries to fetch the list of localized texts for that language. For this to work, the developer needs to add each translation file into the app by using a special folder naming convention as per Android standards. More information can be found in the Android developer docs.

Some of the default values provided by Lock include:

By providing your own strings.xml file, these values can be adjusted as such:

Lock String Values

For a full list of the names used by Lock, see the default strings.xml file in the Lock.Android repository.