Issue
I’m trying to set the LOCALE_ID in an Angular2 application in Dart so that DateTimes get formatted correctly (Monday->Montag for example). Unfortunately LOCALE_ID isn’t at time of writing in angular2/core.dart. Are there plans to add it, or is there another way to set the locale? I’ve tried setting <html lang="de">
but this hasn’t helped 🙁
Solution
I don’t know what LOCALE_ID
is supposed to be but for I18N in Dart usually
https://pub.dartlang.org/packages/intl
is used.
Answered By – Günter Zöchbauer
Answer Checked By – David Goodson (FlutterFixes Volunteer)