Skip to main content
Version: 8.1

translate

This function is used by Ignition's Expression language.

Description​

Returns a translated string, based on the current locale. If the string does not exist in the global translations, the original string will be returned. This function exists in the Client and Gateway scopes.

Syntax​

translate(stringKey)

  • Parameters

    • String stringKey - The starting string to translate.
    • String languageString - The language or locale to use.
  • Results

    • String - The starting string translated based on the current locale. If the translation does not exist, will return the specified value.