8fffafde47
Translations are provided in *.arb* format. Some keys have descriptions (indicated by leading @-symbol). Descriptions should not be copied into the translation itself. Currently only English is supported (app_en.arb), but German is planned. Apparently weblate merged .arb support at some time, so it would be nice to enable community translations at some point.
15 lines
591 B
Org Mode
15 lines
591 B
Org Mode
* Official Outbag App
|
|
Source code of the official outbag app,
|
|
written in flutter.
|
|
|
|
** Translating
|
|
This app uses /l10n/ according to the official flutter
|
|
[[https://docs.flutter.dev/development/accessibility-and-localization/internationalization][internationalization guide]].
|
|
|
|
1. Check if there is a ~.arb~ file available for your language,
|
|
and add missing translations in there,
|
|
if the file exists
|
|
2. Otherwise copy the ~app_en.arb~ file
|
|
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
|