docs: 修复英文语言文件路径错误

closed #8158
This commit is contained in:
陆伯言
2026-07-19 01:17:22 +08:00
parent 9d36b34c4c
commit fe65d548be
2 changed files with 6 additions and 10 deletions

View File

@@ -60,25 +60,23 @@ To add new translation texts, simply find `src/locales/langs/` in the correspond
**src/locales/langs/zh-CN/\*.json**
````ts
```json
{
"about": {
"desc": "Vben Admin 是一个现代的管理模版。"
}
}
````
```
**src/locales/langs/en-US.ts**
**src/locales/langs/en-US/\*.json**
````ts
```json
{
"about": {
"desc": "Vben Admin is a modern management template."
}
}
````
```
## Using Translation Texts

View File

@@ -60,25 +60,23 @@ updateLocale('en-US');
**src/locales/langs/zh-CN/\*.json**
````ts
```json
{
"about": {
"desc": "Vben Admin 是一个现代的管理模版。"
}
}
````
```
**src/locales/langs/en-US.ts**
**src/locales/langs/en-US/\*.json**
````ts
```json
{
"about": {
"desc": "Vben Admin is a modern management template."
}
}
````
```
## 使用翻译文本