HP Anywhere 10.11 API Reference
Show:

HPA.I18n

Module: HPA

Available since HP Anywhere 10.00

Localization - used for translating app strings and text according to the device's locale (navigator.language).

The Localize method is used for retrieving the translation of the given key.

Usage example:

 var userNameLabel = HPA.I18n.localize( "app.label.username" );
 myForm.setUserLabel(userNameLabel);