tachybase_todo/packages/plugins/localization-management
YANG QIA 70d5b9e44b
feat: localization management (#2210)
* 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>
2023-07-17 23:23:44 +08:00
..
src feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
client.d.ts feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
client.js feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
package.json feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
README.md feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
server.d.ts feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
server.js feat: localization management (#2210) 2023-07-17 23:23:44 +08:00

Localization Management

支持管理应用程序的多语言资源。

使用方法

系统设置中添加对应语言

切换到对应语言

管理多语言资源

  1. 同步需要翻译的原文内容
  • 目前支持的内容
    • 菜单
    • 系统和插件提供的语言包
    • 数据表名、字段名、字段选项标签

Note


新增菜单、数据表名、字段名、字段选项标签会自动同步
已有内容需要点击同步按钮手动同步

  1. 编辑翻译内容,点击发布按钮即可生效