Modal "Template" label translation

Hello!

I’m bugfixing a CUBA platform application using Cuba version is 6.8.8. and com.haulmont.reports:reports-global:6.8.8. If there is more than one report template for a report, the desired template can be selected prior running the report. This selection can be done in a dropdown list field, named “Template”. I would like to translate this “Template” label on the “Input parameters & run report” modal. What is the key for this label? I guess, if I have the key for this label, I can manage the translation in the appropriate message.properties files. Or is it working totally different? Then how?

1 Like

Hi Balazs!

The key is “caption.reportTemplate”. I found it in the input-parameters.xml.

Good luck
Julia

1 Like

Hello @czegledi.balazs,

To change the “Template”, in the “messages.properties” web module, type the following:

Instruction:
<path to the source package>/<key message>=<message>

Example:
com.haulmont.reports.gui.report.run/caption.reportTemplate=New name

Regards,
Nikita