Description
Describe the problem
The "Paste" menu item is always shown in English, even though it has been localized.
To reproduce
- Select File > Preferences... (or Arduino > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Select "italiano" from the "Language" menu.
ⓘ This language/locale was chosen arbitrarily for the demo. The fault occurs with all non-English locales. - Click the "OK" button.
The "Preferences" dialog will close. - Open the "Modifica" menu.
🐛 The menu item label is "Paste" instead of the localized "Incolla". - Right-click on the editor view.
🐛 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
- macOS
- Windows
Operating system version
- macOS 13.2.1
- Windows 11 24H2
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:
Related
- Missing translation for "Save" #2213
- Incomplete Dutch translation in menu bar #2616
- Add missing translations #1431
- Missing translation in Theia's view-container context menu #1498
Keywords
-
localization
-
localized
-
l10n
-
internationalization
-
internationalized
-
i18n
-
translate
-
translation
-
translator
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details