aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-02 11:50:56 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-02 11:50:59 +0200
commit583df73acd748db366f5367590ca2860ab4f227d (patch)
tree23307000a83c4d14b255cd9ce02666f5f561c156 /doc
parentb397248436f70bda48f82ddcbaf4bdf7574d7e51 (diff)
parent3a54ad9abae1fab4e5caa42a2375850ffb88588d (diff)
Merge pull request #4110
3a54ad9 Full translation update (Wladimir J. van der Laan) 9dd5d79 devtools: add a script to fetch and postprocess translations (Wladimir J. van der Laan) 58c01a3 qt: add transifex configuration file (Wladimir J. van der Laan)
Diffstat (limited to 'doc')
-rw-r--r--doc/translation_process.md29
1 files changed, 5 insertions, 24 deletions
diff --git a/doc/translation_process.md b/doc/translation_process.md
index 4b7b19f82f..2f0845a877 100644
--- a/doc/translation_process.md
+++ b/doc/translation_process.md
@@ -71,34 +71,15 @@ We are using https://transifex.com as a frontend for translating the client.
https://www.transifex.com/projects/p/bitcoin/resource/tx/
The "Transifex client" (see: http://support.transifex.com/customer/portal/topics/440187-transifex-client/articles)
-will help with fetching new translations from Transifex. Use the following
-config to be able to connect with the client:
+is used to fetch new translations from Transifex. The configuration for this client (`.tx/config`)
+is part of the repository.
-### .tx/config
-
- [main]
- host = https://www.transifex.com
-
- [bitcoin.tx]
- file_filter = src/qt/locale/bitcoin_<lang>.ts
- source_file = src/qt/locale/bitcoin_en.ts
- source_lang = en
-
-### .tx/config (for Windows)
-
- [main]
- host = https://www.transifex.com
-
- [bitcoin.tx]
- file_filter = src\qt\locale\bitcoin_<lang>.ts
- source_file = src\qt\locale\bitcoin_en.ts
- source_lang = en
-
-It is also possible to directly download new translations one by one from the Transifex website.
+Do not directly download translations one by one from the Transifex website, as we do a few
+postprocessing steps before committing the translations.
### Fetching new translations
-1. `tx pull -a`
+1. `python contrib/devtools/update-translations.py`
2. update `src/qt/bitcoin.qrc` manually or via
`ls src/qt/locale/*ts|xargs -n1 basename|sed 's/\(bitcoin_\(.*\)\).ts/<file alias="\2">locale\/\1.qm<\/file>/'`
3. update `src/qt/Makefile.am` manually or via