Commit Graph

13 Commits

Author SHA1 Message Date
98ec943dc4 Add override for etc/translation.vars 2017-05-16 12:26:51 +00:00
91458d66ac merge of 'a86e4e5220e8df07f558ca9febe53beb92eeb9cf'
and 'c5199aeb5743f18aa8d74b518520c42381091f9d'
2013-09-02 01:25:14 +00:00
5a6cec476f Updated message extraction to only update changed .pots 2013-09-01 23:23:29 +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
f42c071d0d Copy env's pybabel into base dir to fix string extraction
The jinja2 extracter needs to know about our custom HighlightExtension (used on
pages such as get-involved/develop/applications), which is not in the env's
python path. Copying pybabel into the base dir gives it access to our modules.
This is only required for string extraction; other scripts use pybabel from the
env directly.

If the env's pybabel version is updated, this copy must also be updated.
2013-06-06 01:26:25 +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
e50d7e4003 Tweaked message extraction script 2013-01-18 11:18:13 +00:00
59ac1fbc44 Added script for updating existing translations 2013-01-18 11:01:32 +00:00
90cd3b67f3 Added script to extract website messages 2013-01-18 10:08:40 +00:00