[BUG] Locale data has not been initialized
Opened this issue · 5 comments
It appears that date formatting might have been triggered in your code prior to the completion of your localization delegates.
You might find the guide and the sample app useful for gaining more clarity. If these resources don't help you, could you provide an example that can be reproduced? It will make it easier to diagnose the underlying issue.
I need to do the same manual fix after upgrading to the latest version of flutter.
I've created a new Flutter project and integrated the required localization code as outlined in the guide and demonstrated in the sample app. Everything seems to work as expected.
However, to be able to provide any further assistance, I need more detailed information about the problem you're experiencing. A reproducible example of the issue would be a great starting point.
Test environment: Windows 11
, Flutter 3.10.5
, intl_utils 2.8.3
, Flutter Intl 1.18.3-2022.2
.
I've created a new Flutter project and integrated the required localization code as outlined in the guide and demonstrated in the sample app. Everything seems to work as expected.
@lzoran We are seeing this issue on Flutter 3.10.5. Can you confirm this is the version you are using?
@lzoran We are seeing this issue on Flutter 3.10.5. Can you confirm this is the version you are using?
Yes.
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 796c8ef792 (8 days ago) • 2023-06-13 15:51:02 -0700
Engine • revision 45f6e00911
Tools • Dart 3.0.5 • DevTools 2.23.1
This is the sample app I've used to try to reproduce the issue. As I said, everything works fine on my machine. 😕