Add script used to update translation templates

This commit is contained in:
Saivann 2014-03-08 22:13:45 -05:00
parent cb443a8dda
commit 9b62dc6f83
2 changed files with 41 additions and 2 deletions

View file

@ -28,9 +28,9 @@ Installing dependencies on older Ubuntu and Debian distributions
### Import translations
**Update translations**: You can overwrite each language files in _translations by their updated version from Transifex. You should make sure that each .html files (in _layouts, _templates) don't serve outdated content for those languages. You should also make sure that no url has been changed by translators. If one page has been replaced or moved, a redirection can be added in _config.yml.
**Update translations**: You can update the relevant language file in \_translations/ and run ./\_contrib/updatetx.rb to update layouts and templates for this language. You should also make sure that no url has been changed by translators. If one page has been replaced or moved, a redirection can be added in \_config.yml.
**Add a new language**: You can put the language file from Transifex in _translations and add the language in _config.yml in the right display order for the language bar. Make sure to review all pages and check all links.
**Add a new language**: You can put the language file from Transifex in \_translations and add the language in \_config.yml in the right display order for the language bar. Make sure to review all pages and check all links.
### Update english strings