Skip to main content

ReturnFileTranslation

Structure

ReturnFileTranslation(sEnglishPhrase)

Parameters

ParameterTypeDescription
sEnglishPhraseStringthe name of the phrase that needs to be returned in translated form for the current language.

Return value

String

Description

This function returns the translation for an English phrase for the currently selected language. The translation is located specifically from within 'Units' logged in the file-based translation files configured in the 'Main Interface & Languages' tab in Language Settings. Important: Note that only form-based text is not searched, only units. If a translation for the phrase is not found, then the original phrase is returned.

Example

bNotFound = True
if bNotFound then
ShowMessage(ReturnFileTranslation("No records match selected filter."))
End If