Skip to content

Redundant localization data files #2152

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

Closed
3 tasks done
per1234 opened this issue Jul 26, 2023 · 0 comments · Fixed by #2153
Closed
3 tasks done

Redundant localization data files #2152

per1234 opened this issue Jul 26, 2023 · 0 comments · Fixed by #2153
Assignees
Labels
conclusion: resolved Issue was resolved topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Jul 26, 2023

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
@per1234 per1234 added topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project labels Jul 26, 2023
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jul 26, 2023
@per1234 per1234 self-assigned this Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant