Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>HELP ME I18nNew to Visual Studio Code? Get it now.
HELP ME I18n

HELP ME I18n

Letki

|
99 installs
| (0) | Free
多语言插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HELP ME I18n README

此插件可帮助大家在需要多语言的项目将难以识别的多语言字段key转变为对应的语言值展示在代码中. 方便我们浏览代码!

功能

实时展示字段值

切换语言, 查看不同语言的字段值

未被配置的字段高亮提醒

配置

在vscode的setting.json中进行配置.此插件默认关闭

下面配置都需要以help-me-i18n.开头进行配置

配置项 说明 类型 默认值
enable 是否打开插件 boolean false
supportLocales 支持的语言列表, 用于切换展示语言 string[] ['zh-CN', 'en-US']
hookMatch 在react中使用的hook名字 string[] ['useI18n, useTranslation', 'useIntl']
localePath 查找语言资源文件的路径 string or string[] /src/**/locales/**/{locale}.ts
varKeyMatch 如果hook导出的是个对象,就需要配置 这个解构的变量名 string[] ['t']
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft