Skip to content

Create or update translations

Rookiestyle edited this page Aug 24, 2021 · 1 revision

Create translation

  • Download LockAssist.template.language.xml
  • Save as LockAssist.<language identifier>.language.xml - example: LockAssist.de.language.xml
  • Translate relevant texts (optional: Remove texts that don't require translation)
  • Change value of TranslationVersion to 1: <TranslationVersion>1</TranslationVersion>
  • Add a line to version.info LockAssist!<language identifier>:1 - example: LockAssist!de:1
  • Create a pull request

Update translation

  • Download existing translation file
  • Update relevant texts
  • Increase value of TranslationVersion by 1 - example: <TranslationVersion>1</TranslationVersion> -> <TranslationVersion>2</TranslationVersion>
  • Update version.info by increasing the translation file's version - example: LockAssist!de:1 -> LockAssist!de:2
  • Create a pull request

Users of my EarlyUpdateCheck plugin will benefit from updating the version.info file as they will then be notified of a new/updated translation.

Clone this wiki locally