Skip to main content
Version: 7.9

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 only exists in the client scope.

Syntax

translate(stringKey)

  • Parameters

    • string stringKey - The starting string to translate.
  • Results

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