Jasper Report localisation question

Started by JanC, February 09, 2018, 11:00:46 AM

Previous topic - Next topic

JanC

I just want to share with you an interesting option to localize even more in a Jasper Report than the strings for "View" or "Motivation". As you know have elements a type - for example within Motivation you have Stakeholders and Assessments. But how can you localize these words? Use str("text." + $F{type}.toLowerCase()) and add to the localization file e.g. text.stakeholder=Belanghebbende (Dutch for Stakeholder). Using R{...} does not work, that only handles static text.

Phil Beauvoir

If you mean the "Type" of each concept then this comes from the main Archi code, and that would need to be translated.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.