nerdexam
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)
  • A
    3% (1)
  • B
    3% (1)
  • C
    83% (25)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full LOT-404 Practice