Zum Hauptinhalt springen

ReturnDBTranslationID

Structure

ReturnDBTranslationID(iLangID)

Parameters

| Parameter | Type | Description
| iLangID | Integer | the ID of the phrase that will be returned in translated form, based on the current language set for IndySoft |

Return Value

String

Description

This function returns the translation for a phrase as identified by the iLangID parameter 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.

For a reminder of the Language ID #'s, see the 'Custom Config. & Language Dictionary' tab in Language Settings...'Language ID' column.

Example

bAwaitingRepair = True

if bAwaitingRepair then

ShowMessage(ReturnDBTranslationID(45757))

End If |