Commit Graph

7 Commits

Author SHA1 Message Date
Gerhard Schlager
d2d823186c Add support for YAML aliases to pull_translations script
The English locale files use aliases and anchors in order to prevent
duplicate translations. Transifex doesn't support them.
The script finds those aliases and anchors in the original locale files
and adds them to the locale files pulled from Transifex.
2015-09-19 00:18:38 +02:00
Gerhard Schlager
dc8759962b Fixes the language codes in the pull_translations script 2015-05-06 17:03:07 +02:00
Gerhard Schlager
1023badd90 Simplify the pull_translations script
- There's no need for configuring "trans.<lang>" for each resource.
  Using the global "lang_map" in the Transifex client config is enough.
- The Transifex client can rename locales. No need to do this manually.
- Pull all translation files for each locale that has a file named
  config/locales/client.<lang>.yml. Up until now the script did only
  update existing files, but didn't add missing ones. That is why there
  are so many translation files for the poll plugin missing.
2015-04-30 22:32:12 +02:00
Arpit Jalan
dbe525b9de update Transifex project link 2014-05-20 22:24:19 +05:30
Neil Lalonde
69dee799e9 Add plugins/poll and discourse_imgur translation files to transifex 2014-04-24 10:53:03 -04:00
Neil Lalonde
1cddfd64c9 Add a flag to pull_translations.rb to force pull of all translations 2014-04-16 10:35:27 -04:00
Neil Lalonde
9e947df747 Add script/pull_translations. It pulls translations from Transifex, and does some post-processing on the files. 2014-04-14 11:53:25 -04:00