GetLanguages

Return the list of non-default languages for the loaded project.

Function

string[] GetLanguages()

Return Value

An array of strings containing every non-default language.

Remarks

Sym3 Operator projects always have one language by default. This is, appropriately enough, known as the ‘default’ language. As this language is always present, this function does not return it. That is, a clean project will return an empty array. Only when you start to define extra languages will this array be populated.

Example

Print the list of languages to the JavaScript console.

let languages = SYM3.GetLanguages();
console.log(languages); // For example, 'Array [ "French", "Japanese" ]'