kriss_feed icon indicating copy to clipboard operation
kriss_feed copied to clipboard

missing template and guide for translation

Open Pitriss opened this issue 6 years ago • 5 comments

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

Pitriss avatar Jun 05 '18 10:06 Pitriss

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

tontof avatar Jun 05 '18 11:06 tontof

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 :(

Pitriss avatar Jun 05 '18 15:06 Pitriss

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

tontof avatar Jun 05 '18 16:06 tontof

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.

Pitriss avatar Jun 05 '18 17:06 Pitriss

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

tontof avatar Jun 05 '18 18:06 tontof