arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.29k stars 389 forks source link

Apply "Language" preference change to all windows and components #1000

Open per1234 opened 2 years ago

per1234 commented 2 years ago

Describe the request

The "Language" menu of the File > Preferences dialog now offers a selection of languages the Arduino IDE user interface can be localized to (https://github.com/arduino/arduino-ide/pull/941).

πŸ™‚ The ideal user experience would be for localization to take effect universally immediately after the user changes this preference:

Describe the current behavior

  1. Select File > New from the Arduino IDE menus.
  2. Select File > Preferences... from the Arduino IDE menus.
  3. Select a different language from the "Language" menu.
  4. Click the OK button.
  5. Wait for the window reload to finish.

πŸ™ The UI of other open IDE windows are still localized for the previous language preference:

image

  1. Select Sketch > Verify/Compile from the Arduino IDE menus.
  2. Wait for compilation to finish.

πŸ™ The messages from Arduino CLI shown in the "Output" view are still localized for the previous language preference:

image

Arduino IDE version

Original report

2.0.0-rc6-snapshot-b407d0a

Last verified with

9a6a457bc44fb16f646b9e61a9e8b336b3666412

Operating system

Windows, Ubuntu

Operating system version

Windows 10, Ubuntu 20.04

Additional context

Related


Keywords

- localization - localized - l10n - internationalization - internationalized - i18n - translate - translation

Issue checklist

tobozo commented 1 year ago

I'm experiencing the same symptoms with Arduino IDE 2.0.3.

image

English was already set as the interface language, so I haven't actually changed anything to observe this issue.

LANG=en_GB.utf8
LANGUAGE=en_GB
LC_CTYPE="en_GB.utf8"
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE="en_GB.utf8"
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES="en_GB.utf8"
LC_PAPER=fr_FR.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8