Preparing search index...
The search index is not available
TESSA Web API
TESSA Web API
Application.Localization
LocalizationManager
Class LocalizationManager
Index
Properties
use
Context
Accessors
available
Localizations
current
Locale
Code
entries
is
Initialized
instance
Methods
initialize
localize
set
Locale
try
Localize
Properties
use
Context
useContext
:
boolean
= true
Accessors
available
Localizations
get
availableLocalizations
()
:
ReadonlyMap
<
string
,
LocalizationLanguage
>
Returns
ReadonlyMap
<
string
,
LocalizationLanguage
>
current
Locale
Code
get
currentLocaleCode
()
:
string
Returns
string
entries
get
entries
()
:
ReadonlyMap
<
string
,
string
>
Returns
ReadonlyMap
<
string
,
string
>
is
Initialized
get
isInitialized
()
:
boolean
Returns
boolean
Static
instance
get
instance
()
:
LocalizationManager
Returns
LocalizationManager
Methods
initialize
initialize
(
params
:
{
currentLocaleCode
:
string
;
localizations
:
LocalizationLanguage
[]
;
useContext
?:
boolean
;
useReactivity
?:
boolean
;
}
,
)
:
Promise
<
void
>
Parameters
params
:
{
currentLocaleCode
:
string
;
localizations
:
LocalizationLanguage
[]
;
useContext
?:
boolean
;
useReactivity
?:
boolean
;
}
Returns
Promise
<
void
>
localize
localize
(
value
:
undefined
|
null
|
string
)
:
string
Parameters
value
:
undefined
|
null
|
string
Returns
string
set
Locale
setLocale
(
currentLocaleCode
:
string
)
:
Promise
<
void
>
Parameters
currentLocaleCode
:
string
Returns
Promise
<
void
>
try
Localize
tryLocalize
<
T
>
(
value
:
undefined
|
null
|
T
)
:
undefined
|
null
|
string
|
T
Type Parameters
T
Parameters
value
:
undefined
|
null
|
T
Returns
undefined
|
null
|
string
|
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
use
Context
Accessors
available
Localizations
current
Locale
Code
entries
is
Initialized
instance
Methods
initialize
localize
set
Locale
try
Localize
TESSA Web API
Loading...