IBM
LOT-404 · Question #28
When providing translation of application strings in HTML pages in an IBM Worklight application, what should a developer do to ensure translated messages are placed into the HTML markup?
The correct answer is C. In application HTML, ensure tags contain "id" attributes that match message keys and provide "class". See the full explanation below for the reasoning.
Question
When providing translation of application strings in HTML pages in an IBM Worklight application, what should a developer do to ensure translated messages are placed into the HTML markup?
Options
- AWrite translated messages into separate language-specific HTML files and import them into the main
- BBuild a messageresources.properties file for each supported locale, and specify the messages bundle
- CIn application HTML, ensure tags contain "id" attributes that match message keys and provide "class"
- DApplication developers must write a custom function to place translations in HTML elements, and call
How the community answered
(30 responses)- A3% (1)
- B3% (1)
- C83% (25)
- D10% (3)
Community Discussion
No community discussion yet for this question.