OSD translation v2.17.0

Versions (relevant)

  • OpenSearch 2.17.0 — AWS opensearch service
  • OpenSearch Dashboards 2.17.0 — imagen opensearchproject/opensearch-dashboards:2.17.0
  • Host OS: Docker

Describe the issue
I’m trying to localise OpenSearch Dashboards 2.17.0 to Spanish using the dashboards‑i18n plugin, but I can’t get it to work inside a Docker deployment.

What I did so far:

  1. Added the plugin source code (dashboards‑i18n from GitHub) into /usr/share/opensearch-dashboards/plugins via a Docker volume.
  2. Mounted my Spanish translation file and a .i18nrc.json that points to it.
  3. Set i18n.locale: "es" in opensearch_dashboards.yml.
  4. Restarted the container.

Dashboards starts, tries to load the plugin, and immediately crashes with:

FATAL Error: Cannot find module ‘/usr/share/opensearch-dashboards/plugins/dashboards-i18n-main/server’

From what I understand, the plugin is only shipped as source, so it must be compiled into a ZIP first – but the official Docker image lacks Node/Yarn.
I’d really like a step‑by‑step that starts “from what I already have” (running containers) and explains the cleanest way to install the i18n plugin for 2.17.0. Ideally without building a huge custom image, but I’m open to that if it’s the only reliable path.

Relevant Logs or Screenshots
Error: Cannot find module ‘/usr/share/opensearch-dashboards/plugins/dashboards-i18n-main/server’

What I’m looking for

  • A confirmed procedure (or link) to compile dashboards‑i18n 2.17.0 and install it into the official Docker image.
  • Or an alternative approach to ship Spanish translations.

Thanks in advance! :folded_hands: