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
  NameDescription
Public methodStatic memberGetLocalizationFileFullPath
Returns localization file if found from environment
Public methodGetText
Gets the translation for the current language. The translations are searched with the given identifier string.
Public methodLoadAidFile
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 methodLoadAilFile
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 methodLoadFile
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 methodLoadXMLFile
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 methodLocalize(ApplicationSettingsBase)
Localizes application settings.
Public methodLocalize(Control)
Localizes a control recursively.
Public methodLocalize(MenuItem)
Localizes a MenuItem control recursively.
Public methodLocalizeToolTip
Localizes a ToolTip control.
Public methodRegisterLocalizationCallback
Registers a localization callback which is used to translate the registered control types.
Top
See Also