设备应用 APIi18n 国际化getText版本:v3.xOn this pagegetTextAPI_LEVEL 2.0 开始支持,API 兼容性请参考 API_LEVEL。根据国际化 key 从国际化资源文件(.po)中获取对应的字符串。类型function getText(key: Key): Result参数Key类型说明string国际化 keyResult类型说明string国际化 key 对应的字符串代码示例import { getText } from '@zos/i18n'getText('name')