The "link attributes" of an interactive report allows a developer to specify additional attributes for a column displayed as a link in a interactive report.
A tooltip that will be displayed when a user hovers over the link text with the pointer can be specified using the attribute TITLE, for instance: TITLE="open page xyz".
This column attribute however is not picked up by the translation process of APEX, so it's not something that can be be found in the translation repository.
An easy way to work around the problem if you need to translate the text is as follows:
- add a new column to the IR report containing:
APEX_LANG.MESSAGE('MSGOPENXYZ') as MSG1
- Make the column hidden.
- Update the LINK ATTRIBUTES column attribute adding TITLE="#MSG1#"
- Add the message MSGOPENXYZ to the message repository for the main language and for the additional languages.
- Repeat the steps 1-4 if you have more links needing this.
- Seed you application
- Publish the application in the additional languages
- Enjoy the translated tooltip.
No comments:
Post a Comment