how can we define which language is used to render system texts in templates?
HI Andreas, I think this is the Locale of the user sending the email. Also I suppose your templates are based on one of the native JIRA templates. In this case, it is more difficult.
JIRA templates use the Velocity context variable $18n to extract language elements. We'll extend $!jetiFieldRenderer object with a method to return a new i18n bean for a given locale.
Then you can do this in the very beginning of the template to overwrite the default locale:
Also, if you want to use a custom field or user property or something else to specify the locale, you can do that too to make it dynamic:
Where customfield_12345 is a field storing the locale text. this is just an example of course.
implemented, soon to be released
Released in version 6.0