Localizing dialog boxes

Build 1501 on 14/Nov/2017  This topic last edited on: 5/Aug/2014, at 16:33

The GN4 dialog boxes are classified as:

Built-in dialog boxes

Locate and translate such dialog boxes in the DLL files. They are self-contained, and all the translatable items are in one place.

Two-part built-in dialog boxes

Some built-in GN4 dialog boxes are made of two parts: one part in the core code, and the other part in system add-ins.

An example of it is the Fred preferences dialog box, whose main part is defined in the GNCoreWinUI.dll as FrConfDlg, while its "Extra" part is defined in the FredSystemAddin.dll.

Translate in both places.

ObjectUI and SearchUI dialog boxes

Such dialog boxes are all constructed in the XAML code in configuration files xxx_CONFIG.XML. Locate the instance and then translate the leteral labels. Note: if a label does not appear in the code in the xxx_CONFIG.XML, it means it is to be localized by translating strings. See About string files for details.

Scripting based dialog boxes (VB.Net)

Such dialog boxes are in system add-ins, in the Dialog folder, but get translated loading the appropriate system add-in dll.

Scripting based dialog boxes (InputDlg)

Such dialog boxes are in system add-ins, but get translated loading the appropriate system add-in dll.