Skip to content

Translating

RePod edited this page Nov 22, 2017 · 8 revisions

The English template will always be up to date and should be used as the base for translations.

English template

Testing your translation

  1. Verify with JSONLint.
    • If the result is Valid JSON, then proceed.
    • If not, fix the errors and validate until there are no more.
      • Common errors may include use of " or ' within a line. Try changing them to \" or \'.
  2. With your valid JSON, click Inject Language at the bottom of PSDLE's startup screen (below the Start button).
  3. Submit the JSON as either:
    • An issue. (easy)
    • A pull request. (highly preferred)
      • The JSON should be saved to _src/lang/all/XX.json where XX is the language code. (en-us -> en.json)

Tips

  • Translations are applied on top of the default English translation.
    • If the translation is missing any new lines they will default to English.
    • This may occur if the English translation is updated with new lines.
  • Something not translating well from English? Translate to what is comfortable for you and other speakers.