Category: | Feature request |
Priority: | High |
Status: | Assigned |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Feature Request:
Integrate a translation of report field names.
Intention:
We use IReport with Users in different languages. At menu Options->Settings ->
General ->language you can choose your own language.
But this doesn’t change the names of the fields (JRFields).
So German, Spanish, Greek …. Designer have to use English field names. But our vocabulary is quit special, in this term it is better to use this fields in country language.
While designing a report, the field name is written into jrxml file.
Depending on this jrxml, Jasper API fills the compiled reports from datasource by getting value with the report field name.
I try to use a datasource with english field-definition eg.
Datasource Address
Attributes:
- Street
- Zipcode
I have a user who would like to design his report with field-definition in german like following:
Datasource Adresse
Attribute:
- Strasse
- Postleitzahl.
So at designtime there are german field names in jrxml, which could not be resolved at runtime, if the datasource is defined in english.
The other chance is to resolve fieldnames at runtime, every filling process, but this is not a high-performance software process.
That's my problem.
I hope you can understand my wish, to translate this.