From 19e0660505efeb6112ef764c21e4257cc2692c30 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Fri, 12 Jul 2024 15:11:31 +0100 Subject: [PATCH] Link to translation reports. (#2213) Also explain how to generate the report locally. --- TRANSLATIONS.md | 17 +++++++++++++++++ src/running-the-course/translations.md | 6 ++++++ 2 files changed, 23 insertions(+) diff --git a/TRANSLATIONS.md b/TRANSLATIONS.md index f637a656..d9f12c83 100644 --- a/TRANSLATIONS.md +++ b/TRANSLATIONS.md @@ -214,3 +214,20 @@ translation and link it from the [translations page]. The idea is to celebrate the hard work, even if it is incomplete. [CODEOWNERS]: https://github.com/google/comprehensive-rust/blob/main/.github/CODEOWNERS + +## Status reports + +Two translation status reports are automatically generated: + +- [Translation status as checked in][translation-report] +- [Translation status after syncing to the latest version of the source with msgmerge][synced-translation-report] + +You can also generate this report locally to see the effect of your local +changes: + +```shell +i18n-report translation-report.html po/*.po +``` + +[translation-report]: https://google.github.io/comprehensive-rust/translation-report.html +[synced-translation-report]: https://google.github.io/comprehensive-rust/synced-translation-report.html diff --git a/src/running-the-course/translations.md b/src/running-the-course/translations.md index cdbd00d7..0625347d 100644 --- a/src/running-the-course/translations.md +++ b/src/running-the-course/translations.md @@ -28,6 +28,10 @@ recently updated translations: - [German][de] by [@Throvn] and [@ronaldfw]. - [Italian][it] by [@henrythebuilder] and [@detro]. +The full list of translations with their current status is also available either +[as of their last update][translation-report] or +[synced to the latest version of the course][synced-translation-report]. + If you want to help with this effort, please see [our instructions] for how to get going. Translations are coordinated on the [issue tracker]. @@ -81,5 +85,7 @@ get going. Translations are coordinated on the [issue tracker]. [@wnghl]: https://github.com/wnghl [@yaremam]: https://github.com/yaremam [@younies]: https://github.com/younies +[translation-report]: https://google.github.io/comprehensive-rust/translation-report.html +[synced-translation-report]: https://google.github.io/comprehensive-rust/synced-translation-report.html [our instructions]: https://github.com/google/comprehensive-rust/blob/main/TRANSLATIONS.md [issue tracker]: https://github.com/google/comprehensive-rust/issues/282