Manuais
PHC GO Funções SDK - Translation
 

Translation

This class contains methods and functions related to translations within the application.
 
 

getString


Description

Extract a text in the current user language based on the provided key.

Return Function

The text corresponding to the key provided.

Parameters


Name Description Type
key The key to extract. String
vars Possible values to be replaced within the translated text so we can reuse the same key for multiple needs. String

Example


    'Get the text from the local
ENTITYDATAFIELD.U123_INFOCLVO.DIAPAGAMENTO.TOOLTIP
Dim textFromLocal as string = SDK.Translation.getString("ENTITYDATAFIELD.U123_INFOCLVO.DIAPAGAMENTO.TOOLTIP")