malthe / chameleon

Fast HTML/XML template engine for Python
https://chameleon.readthedocs.io
Other
176 stars 64 forks source link

Treat (translation) target language like domain and context #392

Closed malthe closed 10 months ago

malthe commented 10 months ago

Provide translation domain, context and target language when doing implicit conversion.

Note that 'target_language' is no longer defined as a variable, but as internal state (and disallowed as a variable name) – similar to domain and context.

This fixes issue #369.

coveralls commented 10 months ago

Pull Request Test Coverage Report for Build 6879293751


Totals Coverage Status
Change from base Build 6877527967: 0.03%
Covered Lines: 4256
Relevant Lines: 4759

💛 - Coveralls