Skip to content

Create or update translations

Rookiestyle edited this page Jul 23, 2020 · 1 revision

Create translation

  • Download PasswordChangeAssistant.template.language.xml
  • Save as PasswordChangeAssistant.<language identifier>.language.xml - example: PasswordChangeAssistant.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 PasswordChangeAssistant!<language identifier>:1 - example: PasswordChangeAssistant!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: PasswordChangeAssistant!de:1 -> PasswordChangeAssistant!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