Closed rikyscara closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/misir/form-validator/9z4q8ZzirQsrx5SQiVvaU2xuAVxk
✅ Preview: Failed
[Deployment for 6558acd failed]
Hi @themisir I've changed the Japanese code from "jp" to "ja" as commented in this topic https://github.com/themisir/form-validator/issues/34
Just to recap
Why: Flutter's list of supported locales include "ja" instead of "jp", this small bug is causing an app "crash" when loading a validated form field. The list of Flutter's default language codes https://api.flutter.dev/flutter/flutter_localizations/GlobalMaterialLocalizations-class.html
How: Changed every reference to "jp" in "ja"
See also Stack Overflow issue https://stackoverflow.com/questions/62540699/flutter-internationalization-for-japanese-failed