Open alammerdeka opened 1 year ago
@alammerdeka the package already support languages you need to add this code in your app in main widget
localizationsDelegates: const [
GlobalCupertinoLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
],
supportedLocales: const [
Locale('fr'),
Locale('it'),
Locale('es'),
Locale('en'),
],
where the relevant codes for language support were added, the solution was disabled with current incoming package updates
where the relevant codes for language support were added, the solution was disabled with current incoming package updates
I solved the problem, the error is caused by me, but the developer's explanation was not sufficient or flutter updates disabled the presented method.
bottom_picker in the "dependencies" section of the pubspec.yaml file: ^2.8.0 flutter_localizations: sdk:flutter
We add this code.
We add the following code under the Materialapp heading:
localizationsDelegates: GlobalMaterialLocalizations.delegates,
supportedLocales:
feature for change language for month, and day in other language