2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

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', ''),
], ],
); );
} }