Commit Graph

9 Commits

Author SHA1 Message Date
98ec943dc4 Add override for etc/translation.vars 2017-05-16 12:26:51 +00:00
17c265bdd7 Strip out commented-out translations after update
This is necessary because:
- Transifex runs 'msgfmt -c' on any uploaded .po file
- pybabel adds a spurious '#~ msgid ""' to the end of some files
- 'msgfmt -c' ignores that this is commented out, and treats it
  as a syntax error (clashing with the top file definition)
2014-03-05 02:43:53 +00:00
5c7672eb1c prefer the venv pybabel but allow the system one to be used (if found) 2013-08-31 23:58:20 +00:00
4ae84aa9e2 Moved setup, translation config files into subdir 2013-08-15 08:30:01 +00:00
6f714fd19e Enable extraction, update and compilation of a single gettext domain 2013-07-21 22:15:24 +00:00
f9c88aa795 Split translation strings between multiple domains
This breaks translation processing; multi-domain support needs to be added to
Flask-Babel. The changes made here put the "important" strings that are used
most often into the priority domain, and split the content from different
sub-urls into separate domains. Multi-domain support will be implemented such
that translations for a specific request are pulled both from the domain which
corresponds to the request url and the priority domain.

This does mean that there may be duplication of translation strings between
domains, but that is unavoidable (and the translators prefer working with
smaller resource files).
2013-07-13 11:01:05 +00:00
ad21b2aea5 Moved babel.cfg and translation.vars into common subdir 2013-07-13 05:39:15 +00:00
8c04301165 minor shell script tweaks
- add shebang line and make bourne compatible
- report bugs to trac
2013-01-30 21:57:14 +00:00
59ac1fbc44 Added script for updating existing translations 2013-01-18 11:01:32 +00:00