trackma icon indicating copy to clipboard operation
trackma copied to clipboard

Make the GUIs translatable

Open Deuchnord opened this issue 8 years ago • 6 comments

I don't know if that's planned, but I think it should be great to make the GTKs and Qt GUI translatable.

I would be very pleased to help in that and to translate Trackma in French :)

Deuchnord avatar Sep 13 '15 08:09 Deuchnord

It can be implemented. We could use Python's gettext for this.

I'm not sure if we should use a single translation file (.po) for everything (engine + all interfaces) (this would avoid duplicates like Progress, Settings, etc.), or have a separate translation file for the engine, and each one of the interfaces.

z411 avatar Sep 13 '15 19:09 z411

That should not be a problem to use a single file. The only thing we should take care is to well make separation, so that we know what we're talking about.

Deuchnord avatar Sep 13 '15 19:09 Deuchnord

Separating things would mean having them in a separate domain, which would lead to separate translation files. Maybe I wouldn't mind a few duplicates as long as everything is organized.

So like this:

  • trackma (engine, includes status and error messages of the engine, API[MAL, Hummingbird, etc.] and whatnot)
  • trackma-cli
  • trackma-curses
  • trackma-gtk
  • trackma-qt

Would this be fine?

z411 avatar Sep 13 '15 19:09 z411

Yep, no need to separate more than this, I think :)

Deuchnord avatar Sep 13 '15 19:09 Deuchnord

I'd like to add this. Would we have an option in the config for language or detect the system's localization and go from there?

anjandev avatar May 12 '18 21:05 anjandev

I support this request and will provide the Dutch translation once this is implemented.

Vistaus avatar Nov 07 '21 13:11 Vistaus