LangCase$

 

Purpose:

Returns one of the substrings according to the language that is set.

Parameter(s):

String             String that is returned if a localization string is not found. The localization string must be a valid ISO 639 language code.

String          String with translation substrings, separated by "|" (or by an optional third argument). Translation texts must be formatted as follows "ISO 639 language code = translation text|[ISO 639 language code = translation text|…]. If the characters "|" or "=" are to be used in the value or the key, they must be preceded by "\", e.g. "USA=He\=llo".

String             (optional) separator (default: "|")

Return value:

String

Example:

LangCase$("Hallo","USA=Hello|ESP=Hóla")  

result: " Hóla " (with Spanish systems)