Knowledge Base



KB10483 - Localize (by language) DK dialogs and messages.

The DK is language friendly! Be familiar with two functions:

GisLocalizedStringsFromString
This allows the developer to localize the dialogs from the provided string. So you can embed the localized string into your DK application.

GisLocalizedStringsFromFile
This simply loads the localization from the file of the structure:

[ENGLISH]GIS_RS_NOT_IMPLEMENTED=Feature not implemented
GIS_RS_BTN_OK=OK
GIS_RS_BTN_APPLY=Apply
GIS_RS_BTN_CANCEL=Cancel
GIS_RS_BTN_RESET=&Reset
GIS_RS_BTN_SELECT=&Select ...
GIS_RS_BTN_NEXT=&Next
GIS_RS_BTN_PREVIOUS=&Previous
GIS_RS_BTN_HELP=Help

Both functions provide a debugging option: if any string was not localized, an error log file can be emitted with information of what was missed.

The DK distribution inclu​des a sample localization file named GisTranslation.ini containing sample transactions to a number of languages.

Created: September 14, 2005, Modified: September 21, 2015