LocalizationServiceクラス
ひとことで言うと
LocalizationServiceは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Handles automated translation.
クラスの関係
プロパティ(2)
| 名前と書き方 | 説明 |
|---|---|
RobloxLocaleIdLocalizationService.RobloxLocaleId: string | The locale ID used for localizing core and internal features. |
SystemLocaleIdLocalizationService.SystemLocaleId: string | The locale ID that the local player has set for their operating system. |
メソッド(5)
| 名前と書き方 | 説明 |
|---|---|
GetCorescriptLocalizationsLocalizationService:GetCorescriptLocalizations(): Instances | Returns a list of LocalizationTable objects used for localizing core scripts. |
GetCountryRegionForPlayerAsyncLocalizationService:GetCountryRegionForPlayerAsync(player: Instance): string | Returns country/region code string according to player's client IP geolocation. |
GetTableEntriesLocalizationService:GetTableEntries(instance: Instance): Array | Gets all entries used for automated localization. |
GetTranslatorForLocaleAsyncLocalizationService:GetTranslatorForLocaleAsync(locale: string): Instance | Yields until the cloud LocalizationTable for the argument locale has been loaded - if available. Returns a Translator instance to be used for translations for the provided locale. |
GetTranslatorForPlayerAsyncLocalizationService:GetTranslatorForPlayerAsync(player: Instance): Instance | Yields until the cloud LocalizationTable for the player's locale has been loaded - if available. Returns a Translator instance to be used for translations for the provided locale. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(LocalizationService)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。