Skip to content

Fallback language #28

@Mumbaso21

Description

@Mumbaso21

Please add the ability to specify a fallback language. In case a user uses a language that is not among the supported ones, the plugin raises an exception that is not possible to control when passing the delegate to the MaterialApp ones.

The exception that is raised is:
Localization.delegate failed to load unsupported locale "xx". This is likely an issue with the localizations generation tool. Please file an issue on GitHub with a reproducible sample app and the gen-l10n configuration that was used.

It is not a file generation issue as reported in the exception, simply the language is not directly supported.

How can I fix this if there is already a solution?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions