Skip to content

showTimerPicker displays mix of Farsi(Persian) and English numbers, when locale is Farsi. #164860

@a-v-ebrahimi

Description

@a-v-ebrahimi

Steps to reproduce

I am using showTimePicker in Farsi, but it display numerals, in a mixed way, in both languages, and clicking on numbers, refreshed them and changes the language of them.

Image

Expected results

It should display all numbers in Persian/Farsi.

Actual results

It shows mix of English and Farsi numbers.

Code sample

final selectedTime = await showTimePicker(
        initialEntryMode: TimePickerEntryMode.dialOnly,
        initialTime: TimeOfDay(hour: current.hour, minute: current.minute),
        context: context,
      );

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.29.0, on Microsoft Windows [Version 10.0.26100.3194], locale en-US)
[√] Windows Version (Windows 11 or higher, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.13.0)
[√] Android Studio (version 2024.3)
[√] VS Code (version 1.97.2)
[√] Connected device (4 available)
[√] Network resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)f: date/time pickerDate or time picker widgetsfound in release: 3.29Found to occur in 3.29found in release: 3.30Found to occur in 3.30frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions