lt-app icon indicating copy to clipboard operation
lt-app copied to clipboard

Internationalization

Open SyntaxBlitz opened this issue 4 years ago • 1 comments

Since the app includes a course for Spanish speakers, it'd be nice to use localized text in the app, at least in Spanish.

Tasks:

  • Wrap all text rendering in a localization function
    • I tend to prefer keeping the text literal in the code (like in fbt, which -- come to think of it -- is open source), rather than replacing text with some constant that you need to look up in another file. This does introduce a few headaches, but I still like it for its greppability and (more importantly) code readability.
    • Don't forget accessibility labels and alt-texts
  • Get Spanish-translated versions of all strings. Mihalis may be able to help, or any volunteer.

SyntaxBlitz avatar May 28 '20 05:05 SyntaxBlitz

Hi :) I was just looking at the issues, to check where I might contribute. At Ultrasonic, an Android OSS music player, we use an external file. It's just a question of the right IDE integration. In our IDE the actual string is displayed when looking through the code. for us its great because we can crowdsource the translations and automatically sync them between the code base and the web tool.

tzugen avatar May 28 '23 14:05 tzugen