Skip to content

[PAGE ISSUE]: 'Internationalizing Flutter apps' #7434

Description

@ssenchenko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cl.fixedIssue is closed as fixede0-minutesEffort: < 60 minp2-mediumNecessary but not urgent concern. Resolve when possible.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions