Zum Hauptinhalt springen

ReturnFileTranslation

Structure

ReturnFileTranslation(sEnglishPhrase)

Parameters

| Parameter | Type | Description
| sEnglishPhrase | String | the 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 |