Tracardi / tracardi-gui

Tracardi ReactJs Graphical User Interface
Other
21 stars 25 forks source link

Add i18n #225

Open victorzhangw opened 2 years ago

victorzhangw commented 2 years ago

Is there an opportunity to add i18n ?

atompie commented 2 years ago

@victorzhangw we were considering this but currently we are developing so fast that it would only slow the development. And it is pretty complex right now as the plugin configuration is served from the server side.

ryomahan commented 1 year ago

I create a broken branch for my company, the branch has implemented i18n by react-intl. If necessary I can submit a PR.

Nov-10-2022 18-33-26

Nov-10-2022 18-31-38

atompie commented 1 year ago

@ryomahan I would love to see it.We have made an approach to i18n the system but it requires a lot of work also on the backend side. I postponed it to the 1.0 version as it is a huge amount of work an to do this probably some i8n system would be needed to manage all the languages.

ryomahan commented 1 year ago

My solution is relatively simple and may not be the best one. I will integrate it on current branch and submit a PR in near future, and we can discuss it on the basis of the PR to optimize it to meet the project requirements.

ryomahan commented 1 year ago

@atompie I push a PR #250 for this.