website
website copied to clipboard
[PAGE ISSUE]: 'Internationalizing Flutter apps'
Page URL
https://docs.flutter.dev/development/accessibility-and-localization/internationalization/
Page source
https://github.com/flutter/website/tree/main/src/development/accessibility-and-localization/internationalization.md
Describe the problem
Section Adding your own localized messages in bullet-item #6 says
Now, run your app so that codegen takes place. You should see generated files in
${FLUTTER_PROJECT}/.dart_tool/flutter_gen/gen_l10n
While it should say "Now, run flutter gen-l10n so that codegen takes place."
Without that files are not generated. At least fort flutter >= 3.x.x
Expected fix
Section Adding your own localized messages bullet-item #6 must look like
Now, run flutter gen-l10n so that codegen takes place. You should see generated files in ${FLUTTER_PROJECT}/.dart_tool/flutter_gen/gen_l10n
Additional context
No response