Skip to content

Conversation

@Demitry235
Copy link

I know this might not be a priority right now, but I had some free time and decided to implement proper localization support for the Launcher.

Changes:

  • Launcher/pubspec.yaml: Added flutter_localizations, intl dependencies and enabled generate: true.
  • Launcher/l10n.yaml: Created config file for the generator.
  • Launcher/lib/l10n/: Created directory with ARB files:
    • app_en.arb (Main template)
    • app_ru.arb (Russian translation)
    • app_de.arb, app_fr.arb, etc. (Placeholders copied from English for future translations).
  • Launcher/lib/main.dart: Connected localization delegates, defined supported locales, and implemented font switching logic (BattlefrontUI for English, BattlefrontGlobal/IBM Plex Mono for others to support special characters).
  • Launcher/lib/features/settings/screens/language_and_accessibility.dart: Refactored the settings section: added a proper Language Selector menu and support for locale switching.

Known Issues:

  • Currently, all languages except Russian and English are placeholders using English strings. They are ready for translation.

Video:

KyberRuVid.mp4

P.S. I apologize for the unfortunate fork name. I thought GitHub allowed multiple forks. I have some concerns about model.dart, and I hope I haven't messed up anything unnecessary; at least it runs :)

@Demitry235 Demitry235 marked this pull request as ready for review January 30, 2026 13:35
@Demitry235 Demitry235 requested a review from 7reax as a code owner January 30, 2026 13:35
@Twig6943
Copy link

Twig6943 commented Feb 9, 2026

is this going to be merged? if so I'll start on the turkish localization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants