mirror of
https://github.com/immich-app/immich.git
synced 2025-07-19 22:44:24 +02:00
feat(mobile): use Weblate for i18n (1) (#17609)
This commit is contained in:
parent
cecd9c24a4
commit
a522130122
5 changed files with 18 additions and 1 deletions
mobile/lib
|
@ -31,8 +31,10 @@ import 'package:immich_mobile/utils/migration.dart';
|
|||
import 'package:intl/date_symbol_data_local.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:timezone/data/latest.dart';
|
||||
import 'package:immich_mobile/generated/codegen_loader.g.dart';
|
||||
|
||||
void main() async {
|
||||
EasyLocalization.logger.enableBuildModes = [];
|
||||
ImmichWidgetsBinding();
|
||||
final db = await Bootstrap.initIsar();
|
||||
await Bootstrap.initDomain(db);
|
||||
|
@ -234,6 +236,7 @@ class MainWidget extends StatelessWidget {
|
|||
path: translationsPath,
|
||||
useFallbackTranslations: true,
|
||||
fallbackLocale: locales.values.first,
|
||||
assetLoader: const CodegenLoader(),
|
||||
child: const ImmichApp(),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue