Files
flutter/lib/l10n
Roland Geider dcebb3a2e7 Add script to check language lists stay in sync
This is also run on commits, so we get alerted when we forget to add new locales
2026-05-18 10:27:25 +02:00
..
2026-03-28 16:04:03 +01:00
2026-03-28 16:04:05 +01:00
2026-03-28 16:04:01 +01:00
2026-02-27 12:03:29 +00:00
2025-10-29 11:34:31 +01:00
2026-03-28 16:04:07 +01:00
2025-07-10 10:02:05 +00:00
2026-04-13 17:57:58 +00:00
2026-02-27 12:03:18 +00:00
2026-02-27 12:03:12 +00:00
2026-02-27 12:03:14 +00:00
2026-03-28 16:03:58 +01:00
2026-01-19 15:42:37 +00:00
2025-09-22 14:27:32 +02:00
2026-03-28 16:04:00 +01:00
2025-10-29 11:34:29 +01:00
2025-05-22 13:24:33 +00:00
2026-05-07 19:57:35 +02:00

Translations for the app

These files are usually edited on weblate, and not directly in the repo:

https://hosted.weblate.org/engage/wger/

Maintenance

Find keys that are not used in the code anymore:

flutter pub add --dev translations_cleaner
flutter pub run translations_cleaner list-unused-terms

Remove unused keys from the arb files (this removes both key as well as @key):

cd lib/l10n
dart remove_keys.dart arbKey1 anotherArbKey

Android 13+ Per-App Language Support

When adding a new language (e.g. adding a new app_<locale>.arb file), please ensure that the new locale is also registered in:

android/app/src/main/res/xml/locales_config.xml

This is required so the new language appears in the Android system settings for per-app language preferences.