Skip to content

Redundant localization data files #2152

Closed
@per1234

Description

@per1234

Describe the problem

Arduino IDE has been localized to several languages thanks to the amazing contributions of translations by the community.

The localization data is stored in the files under the i18n folder of the repository. There is a separate file for each of the locales that have been added to the "Arduino IDE 2.0" project on the Transifex localization platform. I notice that there appear to be multiple files for equivalent locales:

🐛 The redundant files add unnecessary complication to the repository.
🐛 The localization configuration might accidentally be configured to use the unmaintained file instead of the one that is active on Transifex

To reproduce

  1. Open the i18n folder of the repository.
  2. Compare the locale codes from the filenames against the names of the languages they are associate with on Transifex.
    The Transifex website is terrible, but you can manage to see them by logging in to your Transifex account and then searching for the language name (NOT language code) in the "Select Language" menu on this page:
    https://app.transifex.com/join/?o=arduino-1&p=ide2
    image

🐛 Multiple data files are present for a single language.

Expected behavior

There is only one data file for each locale.

Arduino IDE version

f6a4325

Operating system

N/A

Operating system version

N/A

Additional context

Keywords

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

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions