resource() Function
This function can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

resource( key )

Retrieves a string of translated text appropriate for the current user, according to their language preference, by matching a given key with text.

Parameters

Keyword Type Description

key

Text

The item paired with each desired translation in your resource bundle.

Returns

Text

Usage considerations

If no matching translation is available for the user's locale, the key itself is returned.

Examples

resource("city") returns ciudad for es_MX and ville for fr_CA

Open in Github Built: Tue, May 24, 2022 (04:58:50 PM)

On This Page

FEEDBACK