Preparing search index...
The search index is not available
TESSA Web API
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
Application.
App
Application.DI
DI_
Interfaces
Application.
Extensions
Application.
Http
Application.
Localization
Application.
Session
Core.
Annotation
Core.
Common
Core.
Debug
Core.
Error
Core.
Formatting
Core.
Guid
Core.
Scope
Core.
Serialization
Core.
Storage
Core.
Validation
Platform.
Business
Calendar
Business
Calendar
Request
Types
Calendar
Days
Platform.
Cards
Platform.
Cards.
Common
Platform.
Cards.
Extensions
Platform.
Cards.
Metadata
Platform.
Cards.
Service
Platform.
Cards.
Types
Platform.
Cards.
Validation
Platform.
Cards.
Workflow
Platform.
Content
Platform.
Content.
Avatar
Platform.
Files
Platform.
Formatting
Platform.
Forums
Platform.
Initialization
Platform.
Operations
Platform.
Placeholders
Platform.
Scheme
Platform.
Tags
Platform.
Validation
Platform.
Views
Platform.
Views.
Export
Platform.
Views.
Extensions
Platform.
Views.
Metadata
Platform.
Views.
Search
Queries
Platform.
Views.
Service
Platform.
Workflow
Platform.
Workflow.
Kr
Process
Platform.
Workflow.
Signals
Platform.
Workplaces
Platform.
Workplaces.
Extensions
Platform.
Workplaces.
Metadata
Platform.
Workplaces.
Service
Platform.
Workplaces.
Visitors
UI.
Common
UI.
View
Model
TESSA Web API
Application.Localization
LocalizationManager
Class LocalizationManager
Hierarchy
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
use
Context
:
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
;
}
current
Locale
Code
:
string
localizations
:
LocalizationLanguage
[]
Optional
use
Context
?:
boolean
Optional
use
Reactivity
?:
boolean
Returns
Promise
<
void
>
localize
localize
(
value
:
undefined
|
null
|
string
)
:
string
Parameters
value:
undefined
|
null
|
string
Returns
string
set
Locale
set
Locale
(
currentLocaleCode
:
string
)
:
Promise
<
void
>
Parameters
currentLocaleCode:
string
Returns
Promise
<
void
>
try
Localize
try
Localize
<
T
>
(
value
:
undefined
|
null
|
T
)
:
undefined
|
null
|
string
|
T
Type Parameters
T
Parameters
value:
undefined
|
null
|
T
Returns
undefined
|
null
|
string
|
T
Generated using
TypeDoc