Fix Scribe translations by using multiple_localization package

Even if all keys were translated, Scribe UI was always in default
language.

In short, it is not possible to load multiple localization delegates
with different .arb files. But we need these translations to be
located in a separate file because in the future we will move Scribe
in a separate module.

See
https://github.com/Innim/flutter_multiple_localization for more
explanation.
This commit is contained in:
Théo Poizat
2026-01-19 15:50:50 +01:00
committed by Dat H. Pham
parent 1b29b481c0
commit d739b61c83
4 changed files with 26 additions and 10 deletions
+8
View File
@@ -1534,6 +1534,14 @@ packages:
relative: true
source: path
version: "1.0.0+1"
multiple_localization:
dependency: transitive
description:
name: multiple_localization
sha256: "29c97a3fbf4d067ea5a63df1995465ea81ef28e2c817d9d0871983e50f4fd3f0"
url: "https://pub.dev"
source: hosted
version: "0.6.0"
nm:
dependency: transitive
description: