"Paste" menu item is not internationalized #2702
Labels
topic: theia
Related to the Theia IDE framework
type: imperfection
Perceived defect in any part of project
Describe the problem
The "Paste" menu item is always shown in English, even though it has been localized.
To reproduce
The "Preferences" dialog will open.
ⓘ This language/locale was chosen arbitrarily for the demo. The fault occurs with all non-English locales.
The "Preferences" dialog will close.
🐛 The menu item label is "Paste" instead of the localized "Incolla".
🐛 The menu item label is "Paste" instead of the localized "Incolla".
Expected behavior
All strings for which there is localization data are localized in the Arduino IDE UI.
Arduino IDE version
2.3.6
Operating system
Operating system version
Additional context
I bisected the regression to 859d29d / #2654 (does not occur when using the build at the previous commit d298b3f).
I can reproduce the fault in Theia Eclipse IDE versions 1.57.0 through 1.58.100. So the bug seems to originate from Theia (or one of the shared dependencies) rather than the Arduino IDE codebase.
The fault is not present in Theia Eclipse IDE version 1.59.1. So it appears that the bug has been fixed upstream already. eclipse-theia/theia#15016 looks relevant. However, I am not able to reproduce the fault with the "Paste" string's internationalization when using the Theia examples, so I was not able to bisect the fix (although I do see other internationalization problems fixed at that commit).
I believe the localization data for this specific string comes from the VS Code language packs:
https://github.com/microsoft/vscode-loc/blob/v1.96.2024112009/i18n/vscode-language-pack-it/translations/main.i18n.json#L3453
Related
Keywords
localization
localized
l10n
internationalization
internationalized
i18n
translate
translation
translator
Issue checklist
The text was updated successfully, but these errors were encountered: