Archived topic
Translation of specific words
6 replies · Started by Dejan on March 30, 2017
Hello guys,
I don't know if that's even GeneratePress' (or WordPress') problem but since you're all good coders, I'll try it anyway. :)
I have Slovenian language now but the Comment sector is still in English (specifically: Leave a Comment, Logged in as, Log out?, Post comment and by (for authors).
Could I just use any kind of code to replace it?
I am willing to help you with translations if that's GeneratePress' lack of Slovenian vocabulary.
Translations are hosted on WordPress.org: https://translate.wordpress.org/projects/wp-themes/generatepress
Once a translation hits 96% complete, WP.org packages it up and sends it to your site.
It would be AMAZING if you could contribute to the Slovenian language :)
Hey Tom,
Could any kind of CSS code do the trick for those five sentences?
So I can wait out on WP.org and at least cover it up for a while.
I will definitely help with Slovenian translation, thanks for the link.
There are filters you can use for those elements: https://github.com/tomusborne/generatepress/blob/1.3.46/comments.php#L112-L115
There's also one for the post author output: https://docs.generatepress.com/article/generate_post_author_output/
Using filters: https://docs.generatepress.com/article/using-filters/
Let me know if you need more info :)
Hey Tom,
works like a charm. I have one more question. Could I use a filter for paging navigation? I just want to change the word ''Next''.
Thanks in advance.
Those don't exist yet, but I've just added them to the next version :)
Ok cool, looking forward to it. :)
Appreciate your help.