Added weblate stats
and updated translation instructions
This commit is contained in:
parent
3f32c78193
commit
e492a3f8ce
1 changed files with 4 additions and 7 deletions
11
README.org
11
README.org
|
@ -6,10 +6,7 @@ written in flutter.
|
||||||
This app uses /l10n/ according to the official flutter
|
This app uses /l10n/ according to the official flutter
|
||||||
[[https://docs.flutter.dev/development/accessibility-and-localization/internationalization][internationalization guide]].
|
[[https://docs.flutter.dev/development/accessibility-and-localization/internationalization][internationalization guide]].
|
||||||
|
|
||||||
1. Check if there is a ~.arb~ file available for your language,
|
We use [[https://translate.codeberg.org/engage/outbag/][weblate]] to manage translations.
|
||||||
and add missing translations in there,
|
|
||||||
if the file exists
|
#+caption: Translation status
|
||||||
2. Otherwise copy the ~app_en.arb~ file
|
[[https://translate.codeberg.org/widgets/outbag/-/outbag-app/multi-auto.svg]]
|
||||||
and paste it as ~arb_<your-language>.arb~
|
|
||||||
3. Edit the translations in the file
|
|
||||||
4. Run ~flutter gen-l10n~ to generate the required ~.dart~ files
|
|
||||||
|
|
Loading…
Reference in a new issue