Kitto.Localization.dxgettext
This unit defines a Kitto-specific localization interface to the open source translation tool dxgettext (GNU gettext for Delphi). It plugs into Ethea Foundation's localization architecture to allow Kitto applications to be localized by means of dxgettext.
TKdxgettextLocalizationTool class
Localization tool that wraps dxgettext with Kitto-specific behaviour.
pascal
function AsObject: TObject;Returns the tool as a TObject (IEFInterface support).
pascal
function TranslateString(const AString: string;Translates AString via dxgettext; AIdString optionally disambiguates identical texts.
pascal
procedure TranslateComponent(const AComponent: TComponent);Translates all localizable properties of the given component and its children.
pascal
procedure ForceLanguage(const ALanguageId: string);Forces the active translation language to the given language id.
pascal
function GetCurrentLanguageId: string;Returns the id of the language currently in use.
