- This topic has 14 replies, 3 voices, and was last updated 6 years, 2 months ago by Tom.
September 28, 2017 at 9:20 pm #393975themedleb
Hello, what is your recommended translation plugin for your theme (and other plugins)?September 28, 2017 at 9:23 pm #393976LeoStaffCustomer Support
This should help: https://generatepress.com/forums/topic/translator-plugin/#post-295050September 28, 2017 at 9:25 pm #393977themedleb
Thank you, I will give them a try.September 29, 2017 at 2:48 am #394083themedleb
After installing PolyLang It just gave me around 30 strings, and for ex. “Post Comment” button isn’t one of the strings. And it ruined the website: the homepage shows “nothing found” message, and single posts shows less widgets …
I just need to translate the website from its actual language to my language, I don’t need multilingual website for the moment, just one language which is my language.September 29, 2017 at 2:51 am #394086themedleb
I tried Loco Translate plugin, it found all the strings (around 180 strings) that can be translated but after I translated the button for testing, it has no effect on the website.September 29, 2017 at 3:18 am #394091themedleb
After visiting my language’s page of the GeneratePress theme on WordPress.org, I have found most of strings got translated already but not approved yet, I tried to export the .mo file into my computer but found most the file not translated. How can I approve/contribute to the translation on translate.wordpress.org? and after I get the .mo file, where should I put it? Taking in account it should be in the child theme.September 29, 2017 at 9:01 am #394269TomLead DeveloperLead Developer
You need to contribute a couple translation suggestions, then let me know your username and I can request that you become an editor.
Thanks!September 29, 2017 at 9:10 am #394283themedleb
My username in WordPress.org is themedleb.
Thank you.September 29, 2017 at 9:53 pm #394566TomLead DeveloperLead Developer
It doesn’t look like you’ve contributed any translations: https://translate.wordpress.org/locale/ar/default/wp-themes/generatepress
They won’t accept editors without seeing they speak the language fluently.September 29, 2017 at 11:39 pm #394597themedleb
Oh, didn’t know that’s required, I am fluent of course, it’s my native language, but never contributed there, already contributed into an android application in xda-developers. Anyway, I’m in a hurry, can you please give me an easy method to translate my website manually? taking in account putting the translation into the child theme so I won’t lose the translation after every update.
Thanks in advance.September 30, 2017 at 9:04 am #394831TomLead DeveloperLead Developer
You would likely need to do something like this: https://github.com/2ndkauboy/textdomain-overwriteSeptember 30, 2017 at 11:06 am #394884themedleb
[UPDATE] I figured out that Loco Translate plugin is working but since I was testing it to translate the “Post Comment” button, It didn’t end up translated, that’s why I thought Loco Translate doesn’t work, but now with this plugin I actually translated many strings (back to top button, search bar widget, …), but the “Post Comment” button can’t be translated, I don’t know why. I tried the plugin textdomain-overwrite and did exactly what’s on the README.md file, but didn’t work or maybe I didn’t know how to use it, is there any other way to translate the “Post Comment” button? I think that’s all what left for me in the front-end.
Thank you Tom for your kind support.September 30, 2017 at 11:51 am #394905themedleb
I even tried to replace the “Post Comment” string in the wp-content\themes\generatepress\comments.php but no effect.September 30, 2017 at 1:10 pm #394958themedleb
Problem solved, the string “Post Comment” isn’t from the theme (Even it looks exactly the same as the theme’s), the button is from the plugin wpdiscuz, finally I translated it successfully, thank you for your great support, and I’m really sorry of what we went through.
Thank you.September 30, 2017 at 9:58 pm #395082TomLead DeveloperLead Developer
Glad you got it working! 🙂
- You must be logged in to reply to this topic.