Skip to content
| Marketplace
Sign in
Visual Studio Code
>
Other
>
locale-transform
New to Visual Studio Code?
Get it now.
locale-transform
cysgg
|
145 installs
|
(
0
)
|
Free
auto transform file to locale
Installation
Launch VS Code Quick Open (
Ctrl+P
), paste the following command, and press enter.
Copy
Copied to clipboard
More Info
Overview
Version History
Q & A
Rating & Review
locale-transform README
usage
支持文件目录右键菜单,点击 【vue-i18n翻译】
支持快捷键 shift+alt+t
支持悬浮展示翻译
输入中文时,自动补全,展示翻译并回填 $t('id')
支持ctrl + 悬浮展示各类翻译声明, ctrl + 点击 跳转到对应翻译文件定义位置
Attention
限制文件需要在 src 目录下
忽略路径和可转文件在设置中配置,在localeTransform.transform
默认翻译为中文,默认中文文件名为 cn