Skip to content

Unsupported locale 'fur_Latn_IT' #406

Closed
@AdrienAudouard

Description

The locale fur_Latn_IT is not supported by Dart but it's a valid locale.

How to reproduce:

import 'package:intl/intl.dart'; // for date format

void main() {
  NumberFormat.currency(locale: 'fur_Latn_IT').format(2.3);
}

The output:

Uncaught Error: Invalid argument(s): Invalid locale "fur_Latn_IT"

I know it's a tricky one but a few user has this crash on our App.

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onmissing-locale-datatype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions