Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing template and guide for translation #405

Open
Pitriss opened this issue Jun 5, 2018 · 5 comments
Open

missing template and guide for translation #405

Pitriss opened this issue Jun 5, 2018 · 5 comments

Comments

@Pitriss
Copy link

Pitriss commented Jun 5, 2018

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

@tontof
Copy link
Owner

tontof commented Jun 5, 2018

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
Copy link
Author

Pitriss commented Jun 5, 2018

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
Copy link
Owner

tontof commented Jun 5, 2018

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

@Pitriss
Copy link
Author

Pitriss commented Jun 5, 2018

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
Copy link
Owner

tontof commented Jun 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants