Retrieves a string of translated text appropriate for the current user, according to their language preference, by matching a given key with text.
resource( key )
key: (Text) The item paired with each desired translation in your resource bundle.
If no matching translation is available for the user's locale, the key itself is returned.
You can experiment with this function in the test box below.
ciudad for es_MX and
ville for fr_CA
On This Page