Support more country codes

This commit is contained in:
Oliver Walters 2021-05-19 22:53:14 +10:00
parent 96ba41474f
commit c8583aba04

View file

@ -70,10 +70,16 @@ class InvenTreeApp extends StatelessWidget {
GlobalCupertinoLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
], ],
supportedLocales: [ supportedLocales: [
const Locale('en', ''), // English, no country code
const Locale('de', ''), const Locale('de', ''),
const Locale('en', ''), // English, no country code
const Locale('es', ''),
const Locale('fr', ''), const Locale('fr', ''),
const Locale('it', ''), const Locale('it', ''),
const Locale('ja', ''),
const Locale('pl', ''),
const Locale('ru', ''),
const Locale('tr', ''),
const Locale('zh', ''),
], ],
); );
} }