Interface Localized
- All Known Implementing Classes:
UltiTools,UltiToolsPlugin
public interface Localized
Localized interface.
本地化接口
-
Method Summary
-
Method Details
-
supported
Get the language code of the plugin module. more Language code list
获取插件模块支持的语言代码 更多语言代码列表
Gets the language codes a plugin supported.- Returns:
- 支持的语言代码 Supported language codes
- See Also:
-
i18n
Returns a localized string that indicated by user. If the chosen language code is not presented insupported(), this method will return the text by default.
通过指定的语言代码返回一个本地化的字符串。如果语言代码没有出现在supported()里面,则返回传入的原文。- Parameters:
code- language code
语言代码str- default display text
默认的显示文本- Returns:
- A localized string, or the default text if the localization is not supported
一个本地化的字符串,如果语言代码不被支持则返回原文
-