The GlobalFeedbackLocalizationsDelegate provides built-in support for many languages including English (en), German (de), French (fr), Arabic (ar), Russian (ru), Spanish (es), Chinese (zh), and many others.
To use the default translations in your Flutter application, add GlobalFeedbackLocalizationsDelegate.delegate to your localizationsDelegates list in MaterialApp.
MaterialApp(
localizationsDelegates: [
GlobalFeedbackLocalizationsDelegate.delegate,
// ... other delegates
],
supportedLocales: [
const Locale('en'),
const Locale('de'),
// ... other supported locales
],
home: MyHomePage(),
);