Preparing search index...
The search index is not available
edocu-sdk
edocu-sdk
TranslationStore
Class TranslationStore
Index
Constructors
constructor
Properties
languages
locale
main
translations
Accessors
t
Methods
get
Languages
get
Translated
Attribute
get
Translated
Attribute
Value
get
Translated
Button
get
Translated
Cluster
Header
get
Translated
Menu
Item
get
Translated
Tab
get
Translated
Type
setup
Backend
Translations
translations
For
Org
Constructors
constructor
new
TranslationStore
(
main
:
MainStore
)
:
TranslationStore
Parameters
main
:
MainStore
Returns
TranslationStore
Properties
languages
languages
:
Language
[]
= []
locale
locale
:
string
= 'en'
main
main
:
MainStore
translations
translations
:
Record
<
string
,
TranslationData
>
= {}
Accessors
t
get
t
()
:
TranslationData
Returns
TranslationData
Methods
get
Languages
getLanguages
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Translated
Attribute
getTranslatedAttribute
(
type
:
undefined
|
string
,
translationKey
:
string
)
:
string
Parameters
type
:
undefined
|
string
translationKey
:
string
Returns
string
get
Translated
Attribute
Value
getTranslatedAttributeValue
(
type
:
undefined
|
string
,
value
:
string
)
:
string
Parameters
type
:
undefined
|
string
value
:
string
Returns
string
get
Translated
Button
getTranslatedButton
(
title
:
string
)
:
string
Parameters
title
:
string
Returns
string
get
Translated
Cluster
Header
getTranslatedClusterHeader
(
type
:
undefined
|
string
,
title
:
string
)
:
string
Parameters
type
:
undefined
|
string
title
:
string
Returns
string
get
Translated
Menu
Item
getTranslatedMenuItem
(
menuId
:
string
)
:
undefined
|
string
Parameters
menuId
:
string
Returns
undefined
|
string
get
Translated
Tab
getTranslatedTab
(
tabId
:
string
)
:
undefined
|
string
Parameters
tabId
:
string
Returns
undefined
|
string
get
Translated
Type
getTranslatedType
(
type
:
string
)
:
null
|
string
Parameters
type
:
string
Returns
null
|
string
setup
Backend
Translations
setupBackendTranslations
(
language
:
string
)
:
Promise
<
void
>
Parameters
language
:
string
Returns
Promise
<
void
>
translations
For
Org
translationsForOrg
()
:
undefined
|
OrganizationTranslations
Returns
undefined
|
OrganizationTranslations
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
languages
locale
main
translations
Accessors
t
Methods
get
Languages
get
Translated
Attribute
get
Translated
Attribute
Value
get
Translated
Button
get
Translated
Cluster
Header
get
Translated
Menu
Item
get
Translated
Tab
get
Translated
Type
setup
Backend
Translations
translations
For
Org
edocu-sdk
Loading...