We use cookies on this site to enhance your user experience

LocalizationService

LocalizationService

LocalizationService is the service responsible for handling automated translation.

It is used as a storage for LocalizationTable objects used by automatic text replacement.

LocalizationService will only use its child LocalizationTables for automatic text replacement unless GuiBase2d/RootLocalizationTable is specified on a GUI object or its ancestors.


Properties

Name Type Description
string
string

When set to a non-empty string, this property overrides value of the LocalizationService/RobloxLocaleId when running in play solo mode.

string

The locale id that the local player has set for their Roblox account.

string

The locale id that the local player has set for their operating system.

Inherited from Instance

Archivable ClassName DataCost Name Parent RobloxLocked

Functions

Name Type Description
Objects

Returns a list of LocalizationTable objects that are parented to the LocalizationService.

Instance

Returns a Translator that works with the specified player’s language, and all LocalizationTable available as children of LocalizationService to provide translated strings.

Inherited from Instance

ClearAllChildren Clone Destroy FindFirstAncestor FindFirstAncestorOfClass FindFirstAncestorWhichIsA FindFirstChild FindFirstChildOfClass FindFirstChildWhichIsA GetChildren GetDebugId GetDescendants GetFullName GetPropertyChangedSignal IsA IsAncestorOf IsDescendantOf WaitForChild