You can directly reference a translation string in interfaces and expressions throughout your application using the translation!
domain. This domain prefix is a direct object reference to your translation string.
You can use the translation!
domain to reference a translation string in any parameter with user display text. It's easy to construct your translation string references, since the translation!
domain leverages type-ahead to suggest a selection of existing translation strings from the translation sets in your environment.
And, the translation string can be referenced using whichever locale is set as your user locale, as long as the translation string has a value for that locale. For example, if your user locale is Spanish, Peference the translation strings using Spanish. If a translation string doesn't have a value in your user locale, the translation string will use the primary translation locale.
You can use the translation!
domain to reference a translation string in any parameter that shows user display text in any expression editor in your application, except for those used in record types.
Translation strings are ideal for translating the label, instruction, and tooltip parameters of input and display components. They are also great for translating links, buttons, charts, the names of process models,and more.
Translation strings are frequently used to translate interfaces, and the references can be used in both Expression and Design modes of an interface.
To reference an existing translation string in an interface in EXPRESSION mode:
translation!
followed by the translation string you want to use or select it from the list of suggested existing translation strings. You can hover over the suggested translation strings to make sure you're selecting the correct string.Follow these same steps to reference a translation string from an expression rule or any object with an expression editor.
To reference an existing translation string in an interface from DESIGN mode:
translation!
followed by the translation string you want to use or select it from the list of suggested existing translation strings. You can hover over the suggested translation strings to make sure you're selecting the correct string.Tip: If you are unable to reference a specific translation string, make sure that you have Viewer permission to the translation set.
Reference Translation Strings in your Applications