• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    Shell
  • Created almost 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Translating resources for Typora

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

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