mirror of
https://github.com/nocobase/nocobase
synced 2024-11-18 11:26:57 +00:00
70d5b9e44b
* feat: init localization-management * feat: resource api * Merge branch 'main' into T-62 * chore: change name * feat: basic feature * feat: support filter & sync * feat: support auto get texts afterSave * Merge branch 'main' into T-62 * chore: upgrade * fix: dependency * fix: field type * fix: type error * chore: remove some translations * feat: support extract text from menu * chore: cache text keys * chore: remove test key * fix: issue of extracting menu titles * feat: translate collections & fields name * fix: remove unique of text * refactor: improve cache * chore: remove listeners after disable * chore: translation * fix: lang switch bug * refactor: actions & filter * fix: translation * refactor: merge lang bundles at backend * fix: style & field name * fix: translate issues * fix: cache bug * fix: translation merge bug * fix: translate issues * fix: map translation * fix: translation issues * fix: card title bug * feat: cover mobile client tabbar * fix: menu title * refactor: add locale plugin * chore: merge locale plugin * fix: map translation * chore: remove no data * style: change button style * fix: sync bug * docs: add README * chore: change name --------- Co-authored-by: chenos <chenlinxh@gmail.com>
35 lines
869 B
Markdown
35 lines
869 B
Markdown
# Localization Management
|
|
|
|
支持管理应用程序的多语言资源。
|
|
|
|
## 使用方法
|
|
|
|
### 在`系统设置`中添加对应语言
|
|
|
|
<img src="https://s2.loli.net/2023/07/17/1t958NfkEyMjhsm.png" width="550" />
|
|
|
|
### 切换到对应语言
|
|
|
|
<img src="https://s2.loli.net/2023/07/17/npNT1EsIAQcGH3W.png" width="300" />
|
|
|
|
### 管理多语言资源
|
|
|
|
1. 同步需要翻译的原文内容
|
|
|
|
<img src="https://s2.loli.net/2023/07/17/3Uqzdt6mfvauDEP.png" width="300" />
|
|
|
|
- 目前支持的内容
|
|
- 菜单
|
|
- 系统和插件提供的语言包
|
|
- 数据表名、字段名、字段选项标签
|
|
|
|
> **Note**
|
|
> 新增菜单、数据表名、字段名、字段选项标签会自动同步
|
|
> 已有内容需要点击同步按钮手动同步
|
|
|
|
2. 编辑翻译内容,点击`发布`按钮即可生效
|
|
|
|
<img src="https://s2.loli.net/2023/07/17/TVzmJt6ZNYg4fSo.png" width="400" />
|
|
|
|
|
|
|