PhoenicisOrg / phoenicis

Phoenicis PlayOnLinux and PlayOnMac 5 repository
https://phoenicis.org/
GNU Lesser General Public License v3.0
686 stars 73 forks source link

create localization roadmap #808

Closed plata closed 7 years ago

plata commented 7 years ago

Create a roadmap for the localization of Phoenicis. This includes:

For the Phoenicis application:

plata commented 7 years ago

I'm currently looking at gettext commons which looks promising. However, I could not get it running yet.

madoar commented 7 years ago

What problems did you meet? I would like a solution for this, that can be updates via the web. This would enable us to update the language files more often that the software itself, which would make sense when we fix some typos or want to add new languages

plata commented 7 years ago

With the explanations from the gettext commons wiki, it's quite easy to add the Maven dependencies. Running mvn gettext:gettext will then give you a pot file with the extracted keys. I don't currently understand how to generate po files per language (if that can be done with Maven as well or not etc.) and how the generated classes/properties should be accessed from Java.

plata commented 7 years ago

Here are some other tutorials: http://blogs.igalia.com/dpino/2009/08/30/setting-up-gettext-commons-for-i18n-java-files/ http://blogs.igalia.com/dpino/2009/09/05/using-gettext-commons-from-java-files/

plata commented 7 years ago

Ok. Getting closer:

plata commented 7 years ago

see #822

plata commented 7 years ago

Translations are working. Translation service to be handled in #898.