Open Hailong-am opened 4 months ago
@Hailong-am just going to assign you, feel free to remove if someone else will be handling it.
@Hailong-am Hi, I have read Developer Guide of i18n translation , follow the document the plugin only working with local code (it work when yarn start the project) now I want to apply i18n translation for Docker, it is impossible? Thank you
I want to apply i18n translation for Docker
you can build a customized image base on official OpenSearchDashboard image to include your i18n changes, and use that customized image.
Describe the bug
running
node ./scripts/i18n_extract.js --output-dir ./translations
for workspace plugin, there will have few errors complaining i18n translation id need underworkspace
namespace.To Reproduce Steps to reproduce the behavior:
"workspace": "src/plugins/workspace"
to.i18nrc.json
node ./scripts/i18n_extract.js --output-dir ./translations
Expected behavior no error when extract i18n resources
OpenSearch Version main
Dashboards Version main, 2.x
Plugins
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.