LeastAuthority / destiny

Destiny – Cross-platform Magic Wormhole graphical client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Internationalization

wuan opened this issue · comments

Why Internationalization?

  • Prepare app for translations to be ready any time.
  • Attract external contributions.

Requirements

  • All in app strings are collected in a central place and ready to add additional languages.
  • There is a solution allowing localized wordlists.
  • We also have localized MOTD strings.

Details

App localization

Part of this will be finding a good framework which allows us to have a simple localization support

Requirements

  • Support for String keys
  • Some kind of code generation for the keys.
  • Support for language specific things:
    • name templates
    • date and time formats
    • plural and number formats
    • key references (linking/including other texts)
    • modifiers (e. g. lower)
    • fallback rules

PoCs

There is already an issue regarding use of localized wordlists: magic-wormhole/magic-wormhole#214

commented

Don't miss the linked discussion on magic-wormhole/magic-wormhole#26 which reveals some technical and security issues with some proposed solutions.