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

[skip changelog] Add readme for localization data #1837

Merged
merged 1 commit into from
Aug 16, 2022
Merged

[skip changelog] Add readme for localization data #1837

merged 1 commit into from
Aug 16, 2022

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 14, 2022

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • [N/A] Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • [N/A] UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?

Documentation enhancement

What is the current behavior?

Arduino CLI has been translated to 12 languages.

The localization process follows the following steps:

  1. An English language source string is defined in the Arduino CLI codebase
  2. The source string is pushed to Transifex.
  3. Community translators localize the string
  4. The localization data is pulled into the Arduino CLI repository
  5. The localization data is incorporated into the Arduino CLI distribution

Experience with maintenance of the Arduino IDE 1.x project indicates that the data files generated at step (4) can appear to be the appropriate place to make edits for casual contributors not familiar with the project's sophisticated internationalization infrastructure.

Since those files are generated by automated systems, any edits made there would only be overwritten. If a contributor targeting localized data starts from CONTRIBUTING.md, they will be directed to the appropriate place to do that on Transifex. However, they may not use that entry point to their efforts, or they may be targeting the English language source strings instead.

What is the new behavior?

A readme file located in the same folder as the localization data explains the correct ways to contribute to that content, supplementing the existing information in CONTRIBUTING.md.

Does this PR introduce a breaking change, and is titled accordingly?

No breaking change.

Other information

The rendered content can be previewed here:

https://github.com/per1234/arduino-cli/tree/l10n-data-docs/i18n/data#readme

Arduino CLI has been translated to 12 languages.

The localization process follows the following steps:

1. An English language source string is defined in the Arduino CLI codebase
2. The source string is pushed to Transifex
3. Community translators localize the string
4. The localization data is pulled into the Arduino CLI repository
5. The localization data is incorporated into the Arduino CLI distribution

Experience with maintenance of the Arduino IDE 1.x project indicates that the data files generated at step (4) can
appear to be the appropriate place to make edits for casual contributors not familiar with the project's sophisticated
internationalization infrastructure.

Since those files are generated by automated systems, any edits made there would only be overwritten, so it is important
to clearly communicate the correct way to make enhancements or corrections to these strings. This is accomplished by a
local readme file most likely to be seen by those working in the folder containing these files, which supplements the
existing information about translation in the project's CONTRIBUTING.md.
@per1234 per1234 added type: enhancement Proposed improvement topic: documentation Related to documentation for the project labels Aug 14, 2022
@per1234 per1234 self-assigned this Aug 14, 2022
Copy link
Contributor

@MatteoPologruto MatteoPologruto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Per!

@per1234 per1234 merged commit 9fe8560 into arduino:master Aug 16, 2022
cmaglie pushed a commit to cmaglie/arduino-cli that referenced this pull request Aug 22, 2022
Arduino CLI has been translated to 12 languages.

The localization process follows the following steps:

1. An English language source string is defined in the Arduino CLI codebase
2. The source string is pushed to Transifex
3. Community translators localize the string
4. The localization data is pulled into the Arduino CLI repository
5. The localization data is incorporated into the Arduino CLI distribution

Experience with maintenance of the Arduino IDE 1.x project indicates that the data files generated at step (4) can
appear to be the appropriate place to make edits for casual contributors not familiar with the project's sophisticated
internationalization infrastructure.

Since those files are generated by automated systems, any edits made there would only be overwritten, so it is important
to clearly communicate the correct way to make enhancements or corrections to these strings. This is accomplished by a
local readme file most likely to be seen by those working in the folder containing these files, which supplements the
existing information about translation in the project's CONTRIBUTING.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: documentation Related to documentation for the project type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants