Translating Data That Supports List of Values
You create a dynamic translation to translate dynamic pieces of data. For example, you might use a dynamic translation on a list of values based on a database query.
Dynamic translations differ from messages in that you query a specific string rather than a message name. You define dynamic translations on the Dynamic Translations page. You then use the APEX_LANG.LANG API to return the dynamic translation string identified by the p_primary_text_string parameter.
See Also: APEX_LANG in Oracle APEX API Reference
Defining a Dynamic Translation
You define dynamic translations on the Dynamic Translations page. A dynamic translation consists of a translate-from language string, a language code, and a translate-to string.
To define a dynamic translation:
-
Navigate to the Translate Application page:
-
On the Workspace home page, click the App Builder icon.
-
Select an application.
-
Click Shared Components.
-
Under Globalization, click Application Translations.
The Translate page appears.
-
-
Under Translation Utilities, selectDynamic Translations.
-
On the Dynamic Translations page, click Create and specify the following:
-
Language - Select a target language.
-
Translate From Text - Enter the source text to be translated.
-
Translate To Text - Enter the translated text.
-
-
Click Create.