Skip to content

Instantly share code, notes, and snippets.

@leto
Created January 31, 2020 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leto/50cf674280d62cafb657e465f8ae9fd4 to your computer and use it in GitHub Desktop.
Save leto/50cf674280d62cafb657e465f8ae9fd4 to your computer and use it in GitHub Desktop.
SDA translation
gilardhLast Monday at 5:05 PM
@dukeleto I don't have create documentation for how to add new language. We must use this base : https://github.com/MyHush/SilentDragonAndroid/blob/master/app/src/main/res/values/strings.xml
Then you must create a folder 'values-' + LANGUAGE in the folder 'res' and place the file 'strings.xml' which has been translated.
After the choice of language is automatic depending on the language of the phone.
If the phone language is not found, it chooses English by default.
'values-fr' contains the French translation and 'values' contains the English translation.
gilardhLast Monday at 5:23 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment