Localization of the UI

Within in the HTML, there are a number presentation labels referenced. For example:

<label class="policy-dialog-field-label" for="script" databind="text:l10n()['label.field.header']"></label>

The label values are provided by the common pattern of pulling the actual display text from a localization file. This means the UI can quickly be switched to different language representations by simply swapping the localization files. These values can be seen in a JSON file (called <policy-name>.json) in a child folder to the HTML and JavaScript called L10n (short for Localization). The example values can be seen here:

{  "l10nBundle" : {    "policy.name" : "example",    "policy.description": "<Policy description>", "#helpInfo" : "Complete ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.