From Clomosy Docs

Revision as of 06:56, 10 October 2024 by ClomosyManager (talk | contribs)

The clStrToLan function operates based on the language setting of the device where the application is being used. It processes by using the vertical bar '|' as a separator. The sentence on the left side of the separator is defined in English, while the one on the right side is defined in Turkish.

Example
TRObject Syntax

var
 S : String;

{
 S = clStrToLan('Ok|Tamam');
 ShowMessage(S);
}

Base Syntax

var
 S : String;

begin
 S := clStrToLan('Ok|Tamam');
 ShowMessage(S);
end;

Output:
If the device's language is Turkish;

If the device's language is English;

See Also