- This topic has 18 replies, 2 voices, and was last updated 2 years, 4 months ago by Tom.
-
AuthorPosts
-
September 20, 2018 at 9:27 am #682322Viktor
Hi there,
I downloaded and edited the .po/.mo files for Bulgarian (bg_BG) and added them togp-premium\lang\
. This translated some of the backend but at the front end in the Blog section “Leave a comment” (for zero comments) and “# Comments” remain in English even though I have translated them manually in the .po file.
Any ides what might be going on? I use Polylang for managing the website languages.
Thanks a lot!September 20, 2018 at 10:53 pm #682702TomLead DeveloperLead DeveloperHi there,
Those values are in the free theme, so you’d need to grab the translations from here: https://translate.wordpress.org/projects/wp-themes/generatepress
Then the file would go into
wp-content/translations/themes
.Let me know if this helps or not 🙂
September 27, 2018 at 7:49 am #687810SilvanoHi Tom,
I got the same issue… my website have 3 languages portuguese, english and bulgarian… for the bulgarian I used PO archive from https://translate.wordpress.org/projects/wp-themes/generatepress.
and I did exactily what you said, but some terms didn’t translated like fields in comment area and search field placeholder.do you have any idea what may be?
September 27, 2018 at 4:38 pm #688146TomLead DeveloperLead DeveloperAnd those terms are fully translated in the .po files you downloaded?
September 27, 2018 at 5:41 pm #688181SilvanoYes, I checked :/
September 28, 2018 at 9:50 am #688741TomLead DeveloperLead DeveloperJust to confirm, where did you add the .po file? And what did you name it?
September 28, 2018 at 2:02 pm #688922SilvanoHi,
well, when I reported the issue for you, I was testing only on my local version of the website.
I downloaded the files and renamed it to generatepress-bg_BG.po and generatepress-bg_BG.mo and put it in the wp-content/languages/themes folder. Now I put these same files in this same folder but in the online version and it worked.Does that make sense?
September 28, 2018 at 7:50 pm #689064TomLead DeveloperLead DeveloperLocal vs live shouldn’t matter, but it sounds like you’re doing everything right. Maybe the
wp-content/languages
folder requires a live server? Super strange.July 29, 2019 at 5:15 am #969963AlešHello,
I have the same problem. I went through your article https://docs.generatepress.com/article/uploading-translations/ and the translations are not visible on the site. I tried to translate comment section on my wodpress site but it’s stuck in “English” language (Leave a comment, Post comment,..).
Is there any caching involved?
July 29, 2019 at 8:49 am #970252TomLead DeveloperLead DeveloperThere shouldn’t be.
Did you upload GeneratePress translations or GP Premium translations?
July 29, 2019 at 9:13 am #970278AlešHi, I exported GeneratePress po file from wodpres translation page, renamed as stated in the article and uploaded to the folder via ftp.
July 29, 2019 at 5:10 pm #970574TomLead DeveloperLead DeveloperHmm, that should do it for those particular strings.
Which language are you downloading?
July 29, 2019 at 10:58 pm #970735AlešSlovenian
July 30, 2019 at 8:33 am #971203TomLead DeveloperLead DeveloperAnd just to confirm, you exported both the .po and .mo files and named them like this:
generatepress-sl_SI.po generatepress-sl_SI.mo
Then you uploaded them in
wp-content/languages/themes
?Let me know 🙂
July 30, 2019 at 8:57 am #971234AlešHmm..sorry for not knowing but how can I export .mo file? 🙂 There is only option for .po export on the wordpress page (or am I missing something).
EDIT: OK Looks like I missed the option for exporting .mo file. I would sugest to add this to your article. I will try uploading .mo file also.
-
AuthorPosts
- You must be logged in to reply to this topic.