tontof / kriss_feed

A simple and smart (or stupid) feed reader
282 stars 54 forks source link

missing template and guide for translation #405

Open Pitriss opened 6 years ago

Pitriss commented 6 years ago

Teres no infoo about howto create and use translations and/or missing translation template (something to fill localized strings in).

tontof commented 6 years ago

Translation are based on common gettext po files: https://github.com/tontof/kriss_feed/tree/master/src/po/messages My script export that files and add it to the index file: https://github.com/tontof/kriss_feed/blob/master/src/generateIndex

Pitriss commented 6 years ago

I got it to work but messages.pot are painfully outdated.. Is possible to generate just empty file so I don't need to redo german/french po file? Deleting of already translated strings is so time consuming :(

tontof commented 6 years ago

Sorry, not sure I understand what you mean by "messages.pot are painfully outdated" ?

Pitriss commented 6 years ago

It does not fully translate whole app and theres no other empty file to open in my prefered translation gui.. only already localized ones. I just wanted to contribute czech translation, but cleaning eg german po file is way too much time consuming and discouraging for ppl to contribute translations. Sorry, I'm not profesional translator and my gui just don't offer option to remove all translated strings from already localized file.

tontof commented 6 years ago

Oups sorry, I did not notice there was not the same message. I've just fixed it, I hope it will be ok I've generated it from the fr.po file using this command line

cat fr.po | sed -e 's:msgstr ".*":msgstr "":' > messages.pot