TransliterateTextLocalized (open)

Transliterate a string to latin characters

Syntax

LOADLIB "wh::util/localization.whlib";

STRING FUNCTION TransliterateTextLocalized(STRING value)

Parameters

STRING value

Return value

STRING

The normalized text, or an empty string in case of an unrecognized language code

Examples

// example1 = "kyanpasu"
STRING example1 := TransliterateTextLocalized("キャンパス");

// example2 = "Alphabētikós Katálogos"
STRING example2 := TransliterateTextLocalized("Αλφαβητικός Κατάλογος");