PRs like #7686 show that i18n is actually ready, if I understand correctly? But I can't find any description of i18n in the configuration section of the documentation.
To Reproduce
Steps to reproduce the behavior:
Create the following docker-compose.yml file. Then docker compose up -d.
@ananzh I saw #7686 introduced the ability to dynamically change the i18n language via URL. But is there a corresponding documentation PR? And what else needs to be done on the dashboards side to make the i18n configuration permanent?
Describe the bug
A clear and concise description of what the bug is.
I18N_LOCALE
environment variable does not seem to work. ButI18N_LOCALE
is actually documented as follows. See https://github.com/opensearch-project/OpenSearch-Dashboards/blob/2.16.0/src/dev/build/tasks/os_packages/docker_generator/resources/bin/opensearch-dashboards-docker#L54 .To Reproduce Steps to reproduce the behavior:
Create the following
docker-compose.yml
file. Thendocker compose up -d
.Visit
localhost:5601
and log in using theadmin
andopensearchNode1Test
user passwords.At this time, the Web UI is still in English, not the Chinese
zh-CN
set byI18N_LOCALE
.Expected behavior A clear and concise description of what you expected to happen.
I18N_LOCALE
environment variable of the Docker Image works.OpenSearch Version Please list the version of OpenSearch being used.
2.16.0
Dashboards Version Please list the version of OpenSearch Dashboards being used.
2.16.0
Plugins Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Ubuntu 22.04.4 WSL
Microsoft Edge 128.0.2739.63
Additional context
Add any other context about the problem here.