You are reading help file online using chmlib.com
|
TsiLangRT component
See also Properties Methods Events
Description
You know already that it is enough to use TsiLang in order to internationalize your application, but to do this you must involve a person who knows well the foreign language your project is translated to. Sometimes it is difficult or inconvenient to do and in this case you can delegate the translation of your project to your end-level user. This is possible to perform using TsiLangRT (TsiLang Run-Time). For allowing end-user to translate text strings from your form you must use EditAll() method. Unit siLangRT contains two global variables that could be used for providing your end-user the localized version of Translations Editor:
RT_SILFile- Translations Editor will load its translations from this SIL file if defined and points to existing SIL file. The initial SIL file for Translations Editor is included into standard delivery set and called RT.SIL. So you can translate this file and ship it with your application in order to provide your end-users with localized version of built-in editor.
RT_ActiveLanguage- Translations Editor will switch to this language if applicable on activation.
You are reading help file online using chmlib.com
|