Multi-language support

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OS: V2.3, OSD V 2.3, Docker, Chrome Version 106.0.5249.119

Describe the issue:
Does Dashboards support multiple languages via user selection or by locales?
I found this reference to the topic on git: [i18n] Internationalization · Issue #943 · opensearch-project/OpenSearch-Dashboards · GitHub

Honestly, I have not idea what to do with it.
I am trying get the dashboards in show in another language (French). Is there a file a provide with my desired translations? Never had to deal with multi-lingual before.

Configuration:
Docker image V 2.3

Relevant Logs or Screenshots:

Yes. Currently, we have a plugin (i18n plugin) to support multiple languages. Here is some instructions: i18n-plugin/DEVELOPER_GUIDE.md at main · opensearch-project/i18n-plugin · GitHub

2 Likes

So for French, it should be i18n.locale: "fr" . All the supported locales are here OpenSearch-Dashboards/locales.js at main · opensearch-project/OpenSearch-Dashboards · GitHub .

If your language is not currently supported, you are very welcome to create an issue and PR to contribute. Here is a reference:

2 Likes

Thank you. I will give it a try. Tied up on another project so it will be a while.

Hello!

I would like to install the dashboards-i18n plugin but I don’t know how to install it :

I tried :

bin\opensearch-dashboards-plugin.bat install dashboards-i18n

But it doesn’t work :

Attempting to transfer from dashboards-i18n
Attempting to transfer from https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/2.16.0/latest/windows/x64/zip/builds/opensearch-dashboards/plugins/dashboards-i18n-2.16.0.zip
Plugin installation was unsuccessful due to error “No valid url specified.”

Do you know how to install the plugin?

Best regards,

@vincent2mots I don’t think there is an artifact for dashbaords-i18n plugin.
Try following Developer Guide.

Hi @pablo !

I was finally able to create a new fr-FR.json translation file, based on another one and it works fine!

Thanks a lot!

1 Like