From Clomosy Docs

No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:


<b>Example</b><br>
<b>Example</b><br>
<b>TRObject Syntax</b><br>
<pre>
<pre>
var
var
Line 15: Line 14:
  ShowMessage(S);
  ShowMessage(S);
}
}
</pre>
<b>Base Syntax</b><br>
<pre>
var
S : String;
begin
S := clStrToLan('Ok|Tamam');
ShowMessage(S);
end;
</pre>
</pre>


Line 39: Line 28:
<h2> See Also </h2>
<h2> See Also </h2>
* [[System_Library#Cl_Utilities_Functions | Cl Utilities Functions]]
* [[System_Library#Cl_Utilities_Functions | Cl Utilities Functions]]
{{#seo:|title=ClStrToLan Using in Clomosy - Clomosy Docs}}
{{#seo:|description=Learn how the clStrToLan function in Clomosy adapts text to the device's language settings, supporting English and Turkish localization.}}

Latest revision as of 15:17, 24 December 2024

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

var
 S : String;

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

Output:
If the device's language is Turkish;

If the device's language is English;

See Also