alibaba / x-render

🚴‍♀️ 阿里 - 很易用的中后台「表单 / 表格 / 图表」解决方案
https://xrender.fun
6.99k stars 989 forks source link

国际化不支持繁体和日文是否可以修改或者自定义 label 、description、extra这些标签和提示呢? #1357

Closed xyy7260 closed 1 year ago

xyy7260 commented 1 year ago

期望的新功能 (describe the expected new feature)

简述一下使用场景,便于开发者更好理解新功能的必要性 (describe your scenario for us to understand the need)

我看了一下 国际化仅支持 英文和中文。 但是不支持繁体、日文等这些, 所以我想把i18加入在其中只能自己定义的方式解决。

array 数组中 新增一条这个按钮是否也可以一起自定义? 我想改成icon , 上下移 删除是否同样也可以改成icon

xyy7260 commented 1 year ago

目前在自定义组件中 找到 description 和label 的widget ,但是没有找到 extra 、tooItip 的定义方式。

lhbxs commented 1 year ago

https://xrender.fun/form-render/api-props

ListOperate 这个属性配置,可以把操作改成 icon 模式

lhbxs commented 1 year ago

国际化成面,你完全可以把 schema 翻译好在传进去来吧,没懂你这块。