trackma
trackma copied to clipboard
Make the GUIs translatable
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 :)
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.
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.
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?
Yep, no need to separate more than this, I think :)
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?
I support this request and will provide the Dutch translation once this is implemented.