wazuh / wazuh-dashboard-plugins

Plugins for Wazuh Dashboard
https://wazuh.com/
GNU General Public License v2.0
436 stars 182 forks source link

Change the language of the application #5193

Open Tungquantedge opened 1 year ago

Tungquantedge commented 1 year ago
AlexRuiz7 commented 1 year ago

Hello @Tungquantedge

First of all, thanks for getting in touch with us.

The lack of internationalization in the app is something we are aware of and that we really want to work on, as like you said, all the texts are hard-coded in the source code. I assume the initial design of the app didn't have this feature in mind. Unfortunately, we currently have more pressing projects and can't work on this atm, but we will.

Also, there are more factors to take into account that just the app, note that a great chunk of the texts shown on the app come directly from the Wazuh API, which at the same time are the result of the scanning performed by Wazuh on the endpoints (agents). All this data is generated and stored in English, so even if the app allows changing the language, all this data will still be shown in English, which will increase inconsistency. Only the menus, buttons, titles and such will be translated.

We are also aware that there is an external team working on this matter and is contributing to the project. You can check their work here (#5084). We are really thankful for their contribution and will probably take their work as a base to work on. Please note this is WIP.

Best regards, Alex