LocalizationService

extends Instance

Class fields

FieldXML typeValue
NamestringLocalizationService
summarystringProvides the locale used by Roblox CoreScripts and access to the bundled CoreScript translation table.
ExplorerOrderstring530
ExplorerImageIndexstring92
ServiceVisibilitytoken2

Properties

2
RobloxLocaleId
string
FieldXML typeValue
NamestringRobloxLocaleId
summarystringThe locale identifier used for Roblox-provided content.
SystemLocaleId
string
FieldXML typeValue
NamestringSystemLocaleId
summarystringThe locale identifier used by the local system.

Functions

2
GetCorescriptLocalizations
() → Objects
FieldXML typeValue
NamestringGetCorescriptLocalizations
summarystringReturns the bundled LocalizationTable used by CoreScripts.
GetTranslatorForPlayer
(player: Instance) → Instance
FieldXML typeValue
NamestringGetTranslatorForPlayer
summarystringReturns a Translator for the supplied player.

Yield functions

2
GetTranslatorForLocaleAsync
(locale: string) → Instance
FieldXML typeValue
NamestringGetTranslatorForLocaleAsync
summarystringReturns a Translator for the supplied locale.
GetTranslatorForPlayerAsync
(player: Instance) → Instance
FieldXML typeValue
NamestringGetTranslatorForPlayerAsync
summarystringReturns a Translator for the supplied player.