diff --git a/RELEASE.md b/RELEASE.md index 0593d05a..85f50317 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -16,6 +16,11 @@ Make sure that the build number is incremented every time (or it will be rejecte Ensure that the translation files have been updated, and copied into the correct directory!! +``` +cd lib/l10n +python update_translations.py +``` + ### Build Appbundle `flutter build appbundle` diff --git a/assets/release_notes.md b/assets/release_notes.md index c18f04fc..d5dea936 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -10,7 +10,8 @@ - Improvements for StockLocation editing form - Adds ability to edit StockItem - Display purchase price (where available) for StockItem -- Updated translations +- Updated translations +- Adds support for more languages ### 0.2.10 - July 2021 --- diff --git a/lib/l10n b/lib/l10n index 46d08c9c..5889c960 160000 --- a/lib/l10n +++ b/lib/l10n @@ -1 +1 @@ -Subproject commit 46d08c9cc0043113fee5c0d134861c5d12554b71 +Subproject commit 5889c96004c734ac81a9c67002e75fe477f632cd diff --git a/lib/main.dart b/lib/main.dart index 56a77df2..915b4731 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -64,16 +64,24 @@ class InvenTreeApp extends StatelessWidget { GlobalCupertinoLocalizations.delegate, ], supportedLocales: [ - const Locale('de', ''), - const Locale('en', ''), - const Locale('es', ''), - const Locale('fr', ''), - const Locale('it', ''), - const Locale('ja', ''), - const Locale('pl', ''), - const Locale('ru', ''), - const Locale('tr', ''), - const Locale('zh', ''), + const Locale('de', ''), // German + const Locale('el', ''), // Greek + const Locale('en', ''), // English + const Locale('es', ''), // Spanish + const Locale('fr', ''), // French + const Locale('he', ''), // Hebrew + const Locale('it', ''), // Italian + const Locale('ja', ''), // Japanese + const Locale('ko', ''), // Korean + const Locale('nl', ''), // Dutch + const Locale('no', ''), // Norwegian + const Locale('pl', ''), // Polish + const Locale('ru', ''), // Russian + const Locale('sv', ''), // Swedish + const Locale('th', ''), // Thai + const Locale('tr', ''), // Turkish + const Locale('vi', ''), // Vietnamese + const Locale('zh-CN', ''), // Chinese ], );