I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  • str4d's avatar
    f9c88aa7
    Split translation strings between multiple domains · f9c88aa7
    str4d authored
    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).
    f9c88aa7
    History
    Split translation strings between multiple domains
    str4d authored
    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).