[BUG-9453] Expression "translate" not working

Hi,

I tried to use the “translate” expression in Perspective label-component but it just gives the following error:

RuntimeException: Unknown function: 'translate'

The expression is just:

translate('Hello')

I’m running Ignition version: 8.0.3(b2019070202)

This seems to be a long-standing known issue, stemming from the fact that the expression executing on the Gateway “scope” (like everything Perspective), but the Gateway has no defined locale. When used in Vision, the translate(stringKey) expression works as intended because it’s using the defined locale of the client (or Designer).

+1
It will be usefull to have access to a function such as system.util.translate(term) in the gateway scope.
We have some needs to translate terms for the reports.