Jesway / flutter_translate

Flutter Translate is a fully featured localization / internationalization (i18n) library for Flutter.
MIT License
403 stars 118 forks source link

No MaterialLocalizations found , If change language to Soomaali (so) #105

Closed vyas-git closed 1 year ago

vyas-git commented 1 year ago

Getting this error The following message was thrown: Warning: This application's locale, so, is not supported by all of its localization delegates.

• A MaterialLocalizations delegate that supports the so locale was not found. • A CupertinoLocalizations delegate that supports the so locale was not found.

The declared supported locales for this app are: en, so, ar

See https://flutter.dev/tutorials/internationalization/ for more information about configuring an app's locale, supportedLocales, and localizationsDelegates parameters. ════════════════════════════════════════════════════════════════════════════════ ════════════════════ Another exception was thrown: No MaterialLocalizations found. Another exception was thrown: No MaterialLocalizations found.

bratan commented 1 year ago

I don't think this issue is related to flutter_translate and you should probably post it in the Flutter repo.

vyas-git commented 1 year ago

Yes only these are supported by Flutter https://api.flutter.dev/flutter/flutter_localizations/flutter_localizations-library.html

https://github.com/aissat/easy_localization/issues/220 this helps me .