diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-03-21 03:03:44 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-03-21 03:03:44 +0800 |
commit | 938228fba58f5ced6504d6f6d14e0b96df84c32a (patch) | |
tree | 073d6f6bbbe9f03b64d742363d9dd4fa9ce30bc3 | |
parent | 716e034c75c53bbcc0d81a36c2eadf140c53ca9c (diff) | |
download | tangerine-wallet-browser-938228fba58f5ced6504d6f6d14e0b96df84c32a.tar.gz tangerine-wallet-browser-938228fba58f5ced6504d6f6d14e0b96df84c32a.tar.zst tangerine-wallet-browser-938228fba58f5ced6504d6f6d14e0b96df84c32a.zip |
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!). |