Passa al contenuto principale

ReturnDBTranslation

Structure

ReturnDBTranslation(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 the Language Dictionary in the database, as configured in the 'Custom Config. & Language Dictionary' tab in Language Settings. If the current language is English, then the original phrase is returned.

Example

bAwaitingRepair = True

if bAwaitingRepair then

ShowMessage(ReturnDBTranslation("Awaiting Repair"))

End If |