KC's Workspace
Github
Preparing search index...
@kcconfigs/typedoc
<internal>
Internationalization
Class Internationalization
Responsible for maintaining loaded internationalized strings.
Index
Constructors
constructor
Methods
add
Translations
get
Supported
Languages
has
Translations
set
Locale
Constructors
constructor
new
Internationalization
()
:
Internationalization
Returns
Internationalization
Methods
add
Translations
addTranslations
(
locale
:
string
,
translations
:
Record
<
string
,
string
>
)
:
void
Parameters
locale
:
string
translations
:
Record
<
string
,
string
>
Returns
void
get
Supported
Languages
getSupportedLanguages
()
:
string
[]
Returns
string
[]
has
Translations
hasTranslations
(
locale
:
string
)
:
boolean
Parameters
locale
:
string
Returns
boolean
set
Locale
setLocale
(
locale
:
string
)
:
void
Parameters
locale
:
string
Returns
void
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Translations
get
Supported
Languages
has
Translations
set
Locale
Github
KC's Workspace
Loading...
Responsible for maintaining loaded internationalized strings.