翻译文本 | Translate text
(key: string, params?: TranslationParams, fallback?: string)
| 45 | setLocale(locale: Locale): void; |
| 46 | /** 翻译文本 | Translate text */ |
| 47 | t(key: string, params?: TranslationParams, fallback?: string): string; |
| 48 | /** 扩展翻译 | Extend translations */ |
| 49 | extendTranslations(namespace: string, translations: PluginTranslations): void; |
| 50 | /** 监听语言变化 | Listen to locale changes */ |