website icon indicating copy to clipboard operation
website copied to clipboard

[PAGE ISSUE]: 'Internationalizing Flutter apps'

Open ssenchenko opened this issue 3 years ago • 0 comments

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

ssenchenko avatar Aug 08 '22 22:08 ssenchenko