Our company generates reports that often use a dual language format. For instance:
English Test Name / Chinese Test Name: Result cm
We have our translations already set and I have generated .po/.mo files and can do a single language without problem. However, is there a way, with builtin Django functionality, to do the dual language option. The current format for a template,
{% trans "Key" %}
leaves a little to be desired with what we are doing. Maybe
{% blocktrans %}
would be better?
My wanting to just throw logic at it wonders if there is a way to use
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
to get at the selected language and then manipulate the language that way somehow.
Any ideas beyond re-writing the Middleware?