Skip to content

Latest commit

 

History

History
executable file
·
92 lines (70 loc) · 7.17 KB

Readme.md

File metadata and controls

executable file
·
92 lines (70 loc) · 7.17 KB

Translating Typora

If you want to help translate Typora into other languages, we would very appreciate that.

Improve existing translations

  • Just fork this project, change text resources and make a pull request

Find missing text labels

When we upgrade Typora, we could add new text labels for .strings files under Base.lproj, to checkout missing text labels under your {locale}.lproj, you can try following commands (Thanks to @BrainCrumbz), which takes it-IT.lproj/Welcome.strings as an example:

gawk 'BEGIN { FS=" = " } { print $1 }' Base.lproj/Welcome.strings > base-keys
gawk 'BEGIN { FS=" = " } { print $1 }' it-IT.lproj/Welcome.strings > it-keys

Find translation progress and all missing labels

@Hayao0819 also made a script https://github.com/typora/Typora-i18n/blob/master/tools.sh to quickly find untranslated labels and translation process of given languages. You can refer to #382 for more details.

Add a new language Interface

  1. Check our issue list to see if there are already someone else translating the text recourse to your language. If not, open an issue to tell others that you doing the translation, in order to avoid duplicate work.
  2. Fork this repo.
  3. Create a folder named {locale}.lproj, local code should be picked from locale-identifiers.csv.
  4. Copy *.strings files from Base.lproj to {locale}.lproj.
  5. Open *.strings with any text/code editor, do the translation. Please also check the translation rules.
  6. Make a pull request to us.
  7. We could also appreciate if you leave any contact method, like email, in issues or in *.strings file after your translation, so we can reach you and, at least, give free license as rewards after we come out of beta. You could also email us directly if you do not want your email address go public in Github.

Translation rules

FAQ

Can I test my translations?

Sorry… We do not support that. If you are not sure about the context of the some original English text resource or have doubts about your translation, please feel free to contact us.

Contact

Feel free to contact us via [email protected]

Reference

Other Language

简体中文

Credits