docs: updated translations guide and l10n config#830
Conversation
- Corrected the supported languages list to reflect all 10 target regional languages - Added accurate translation completeness statistics for each language - Removed the redundant and ignored `supported-locales` block from l10n.yaml - Updated instructions to remove outdated manual registration steps for l10n.yaml - Clarified that `untranslated.txt` is generated in the project root directory rather than lib/l10n/ - Revised the Language Codes Reference tables to list currently supported and potential target languages
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🎉 Welcome @vishnunandan555!
We appreciate your contribution! 🚀 |
Description
This PR updates the outdated
TRANSLATIONS.mdguide and cleans up the redundant configuration inl10n.yamlto match the current Flutter localization setup.I discovered these issues while working on Malayalam localization in #719.
Fixes #738
Summary of Changes
main.dartorl10n.yamlbecauseflutter gen-l10nautomatically scans allapp_*.arbfiles in the directory to compile locale support dynamically.supported-localesblock froml10n.yamlto avoid confusion.untranslated.txtis auto-generated in the project root directory rather thanlib/l10n/to save time for new contributors.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
flutter gen-l10nand confirmed the localizations are correctly compiled for all 10 regional languages.flutter testand confirmed all unit/widget tests pass successfully.Checklist:
Maintainer Checklist