Ground of Aces Scripting API
Static Public Member Functions | List of all members
LocalizationUtils Class Reference

This class is available under a global localization variable. More...

Static Public Member Functions

static void SetTerm (string languageCode, string term, string translation)
 Add or modify a localization term. More...
 

Detailed Description

This class is available under a global localization variable.

Member Function Documentation

◆ SetTerm()

static void SetTerm ( string  languageCode,
string  term,
string  translation 
)
inlinestatic

Add or modify a localization term.

Parameters
languageCodeLanguage code, e.g. "en"
termName of the localization term, used to identify it
translationTranslation, possibly containing some value placeholders, formatted as {[PLACEHOLDER_NAME]}