Translatorクラス
ひとことで言うと
Translatorは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):The role of a Translator is to manufacture/return strings localized for the viewing player.
クラスの関係
プロパティ(1)
| 名前と書き方 | 説明 |
|---|---|
LocaleIdTranslator.LocaleId: string | The locale of translated strings. |
メソッド(2)
| 名前と書き方 | 説明 |
|---|---|
FormatByKeyTranslator:FormatByKey(key: string, args: Variant): string | Returns the localized text string in a LocalizationTable based on its Translator locale, by key. |
TranslateTranslator:Translate(context: Instance, text: string): string | Returns the localized text string in a LocalizationTable based on its Translator locale, by source lookup. |
受け継いでいるメンバー
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(Translator)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。