diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-03-21 03:37:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 03:37:24 +0800 |
commit | 3ee6cad87b44949f80f5c01d9f89dd69a6e9f767 (patch) | |
tree | 0d2ad0abb742968046aacc23ce68661823245158 | |
parent | 1ab165b6d775bfee51f9d5bd58e87b6531d51662 (diff) | |
parent | 938228fba58f5ced6504d6f6d14e0b96df84c32a (diff) | |
download | tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.tar tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.tar.gz tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.tar.bz2 tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.tar.lz tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.tar.xz tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.tar.zst tangerine-wallet-browser-3ee6cad87b44949f80f5c01d9f89dd69a6e9f767.zip |
Merge pull request #3638 from MetaMask/DocumentTranslationScript
Document translation script
-rw-r--r-- | docs/translating-guide.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/translating-guide.md b/docs/translating-guide.md index 62d444b5a..ae2dfecd3 100644 --- a/docs/translating-guide.md +++ b/docs/translating-guide.md @@ -14,5 +14,13 @@ That's it! When MetaMask is loaded on a computer with that language set as the s ## Testing -To verify that your translation works, you will need to [build a local copy](https://github.com/MetaMask/metamask-extension#building-locally) of MetaMask. +To automatically see if you are missing any phrases to translate, we have a script you can run (if you know how to use the command line). The script is: + +``` +node development/verify-locale-strings.js $YOUR_LOCALE +``` + +Where `$YOUR_LOCALE` is your [locale string](https://r12a.github.io/app-subtags/), i.e. the name of your language folder. + +To verify that your translation works in the app, you will need to [build a local copy](https://github.com/MetaMask/metamask-extension#building-locally) of MetaMask. You will need to change your browser language, your operating system language, and restart your browser (sorry it's so much work!). |