API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Localization Methods

The Localization type exposes the following members.

Methods
  Name Description
Public method GetText
Gets the translation for the current language. The translations are searched with the given identifier string.
Public method LoadAidFile
Loads the localization strings from an aid file. Several files may be used concurrently, just call LoadAidFile for each file. The translations are searched in the loading order and the first match is returned.
Public method LoadAilFile
Loads the localization strings from an ail file. Several files may be used concurrently, just call LoadAilFile for each file. The translations are searched in the loading order and the first match is returned.
Public method LoadFile
Loads the localization strings from a file. Several files may be used concurrently, just call LoadFile for each file. The translations are searched in the loading order and the first match is returned. The method uses the extension of the filename to identify the file type (".xml", ".aid" or ".ail").
Public method LoadXMLFile
Loads the localization strings from an xml file. Several files may be used concurrently, just call LoadXMLFile for each file. The translations are searched in the loading order and the first match is returned.
Public method Localize(ApplicationSettingsBase)
Localizes application settings.
Public method Localize(Control)
Localizes a control recursively.
Public method Localize(MenuItem)
Localizes a MenuItem control recursively.
Public method LocalizeToolTip
Localizes a ToolTip control.
Public method RegisterLocalizationCallback
Registers a localization callback which is used to translate the registered control types.
Top
See Also