Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Paste" menu item is not internationalized #2702

Open
3 tasks done
miki-wmhne opened this issue Apr 10, 2025 · 2 comments
Open
3 tasks done

"Paste" menu item is not internationalized #2702

miki-wmhne opened this issue Apr 10, 2025 · 2 comments
Labels
topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project

Comments

@miki-wmhne
Copy link

miki-wmhne commented Apr 10, 2025

Describe the problem

The "Paste" menu item is always shown in English, even though it has been localized.

To reproduce

  1. Select File > Preferences... (or Arduino > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Select "italiano" from the "Language" menu.
    This language/locale was chosen arbitrarily for the demo. The fault occurs with all non-English locales.
  3. Click the "OK" button.
    The "Preferences" dialog will close.
  4. Open the "Modifica" menu.
    🐛 The menu item label is "Paste" instead of the localized "Incolla".
  5. 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:

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

  • 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
@miki-wmhne miki-wmhne added the type: imperfection Perceived defect in any part of project label Apr 10, 2025
@giacomocusinato giacomocusinato changed the title Ver.2.3.6でタスクメニューの一部が日本語対応になっていません Some menu entries don't translate to selected language Apr 10, 2025
@giacomocusinato
Copy link
Collaborator

Thanks @miki-wmhne, this seems to be a problem with all languages.
I've added some details in english to better keep track of this.

@miki-wmhne

This comment has been minimized.

@per1234 per1234 changed the title Some menu entries don't translate to selected language "Paste" menu item is not internationalized Apr 11, 2025
@per1234 per1234 added the topic: theia Related to the Theia IDE framework label Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants