This API Class does not have any or complete API documentation. Please add API documentation if possible.
LocalizationTable is a class added on May 24, 2017. It inherits Instance. It is used internally by Roblox to handle language translations.
Contents
- 1 Properties
- 2 Methods
- 2.1
GetContents(): string
- 2.2 GetEntries(): Array
- 2.3
GetString(targetLocaleId: string, key: string): string
- 2.4 GetTranslator(localeId: string): Instance
- 2.5 RemoveEntry(key: string, source: string, context: string): null
- 2.6 RemoveEntryValue(key: string, source: string, context: string, localeId: string): null
- 2.7
RemoveKey(key: string): null
- 2.8 RemoveTargetLocale(localeId: string): null
- 2.9
SetContents(contents: string): null
- 2.10 SetEntries(entries: Variant): null
- 2.11
SetEntry(key: string, targetLocaleId: string, text: string): null
- 2.12 SetEntryContext(key: string, source: string, context: string, newContext: string): null
- 2.13 SetEntryExample(key: string, source: string, context: string, example: string): null
- 2.14 SetEntryKey(key: string, source: string, context: string, newKey: string): null
- 2.15 SetEntrySource(key: string, source: string, context: string, newSource: string): null
- 2.16 SetEntryValue(key: string, source: string, context: string, localeId: string, text: string): null
- 2.17 SetIsExemptFromUGCAnalytics(value: bool): null
- 3 Removed members
- 4 External links
Properties
- Category: Localization.
- Serialization: can load only.
- Thread safety: read safe
- Category: Behavior.
- Serialization: cannot load or save.
- Thread safety: read safe
- Category: Localization.
- Serialization: can save and load.
- Thread safety: read safe
Methods
GetString(targetLocaleId: string, key: string): string
ParametersName | Type |
---|
targetLocaleId | string |
key | string |
ParametersName | Type |
---|
localeId | string |
RemoveEntry(key: string, source: string, context: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
RemoveEntryValue(key: string, source: string, context: string, localeId: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
localeId | string |
RemoveKey(key: string): null
ParametersName | Type |
---|
key | string |
ParametersName | Type |
---|
localeId | string |
SetContents(contents: string): null
ParametersName | Type |
---|
contents | string |
SetEntries(entries: Variant): null
ParametersName | Type |
---|
entries | Variant |
SetEntry(key: string, targetLocaleId: string, text: string): null
ParametersName | Type |
---|
key | string |
targetLocaleId | string |
text | string |
SetEntryContext(key: string, source: string, context: string, newContext: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
newContext | string |
SetEntryExample(key: string, source: string, context: string, example: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
example | string |
SetEntryKey(key: string, source: string, context: string, newKey: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
newKey | string |
SetEntrySource(key: string, source: string, context: string, newSource: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
newSource | string |
SetEntryValue(key: string, source: string, context: string, localeId: string, text: string): null
ParametersName | Type |
---|
key | string |
source | string |
context | string |
localeId | string |
text | string |
ParametersName | Type |
---|
value | bool |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Removed members
External links[]