Files
flutter/lib/l10n
Roland Geider 2d129a91f1 Merge branch 'master' into gym-mode-timer-up-next-and-edit-logs
# Conflicts:
#	lib/features/routines/providers/gym_state_notifier.dart
#	lib/features/routines/widgets/gym_mode/log_page.dart
#	lib/features/routines/widgets/gym_mode/timer.dart
#	lib/l10n/app_en.arb
2026-10-25 21:25:46 +01:00
..
2026-03-28 16:04:03 +01:00
2026-09-26 18:56:29 +02:00
2026-07-31 20:23:18 +02:00
2026-10-25 21:11:53 +01:00
2026-08-26 13:29:27 +02:00
2026-10-25 21:11:53 +01:00
2026-10-25 21:11:53 +01:00
2026-09-19 13:51:30 +02:00
2026-07-31 20:23:18 +02:00
2026-09-11 08:35:06 +02:00
2026-05-20 21:37:26 +02:00
2026-10-24 17:15:18 +02:00
2025-10-29 11:34:29 +01:00
2026-10-24 21:19:12 +02: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

Adding a new language

When a new app_<locale>.arb file is added (usually by a Weblate PR), register the locale in:

  • android/app/src/main/res/xml/locales_config.xml, so the language appears in the Android 13+ per-app language settings (uses pt-BR, not pt_BR)
  • ios/Runner/Info.plist under CFBundleLocalizations, so iOS offers the language for the app
  • lib/l10n/language_native_names.dart, so the language picker in the settings shows its native name