Files
i2p.www/compile-messages.sh
str4d 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

7 lines
130 B
Bash
Executable File

#!/bin/sh
. ./translation.vars
for domain in $(ls $BABELCFG); do
TZ=UTC env/bin/pybabel compile -D $domain -d $TRANSDIR
done