sdenier / Geco

Lightweight desktop application for management of orienteering events
http://sdenier.github.io/Geco
10 stars 6 forks source link

Support for translation #46

Closed davidpustai closed 7 years ago

davidpustai commented 7 years ago

Any intention to add translations to other languages?

Our trainer likes Geco but doesn't understand English. We'd like to make it easier to use for her. I'm pretty sure others within the community would appriciate it and maybe even help develop the translations.

sdenier commented 7 years ago

It's pretty easy to provide custom translation files for Geco, although a bit cumbersome given the number of messages.

You should make a copy and edit these two files by appending the suffix of your current local. https://github.com/sdenier/Geco/blob/master/src/net/geco/messages.properties https://github.com/sdenier/Geco/blob/master/src/net/geco/ui/messages.properties

For example, if your locale is de (german), then you should rename your translated files to messages_de.properties. Geco will automatically pick up files for your current locale.

davidpustai commented 7 years ago

Thanks, if I come to do it, I'll make a pull request.