- This topic has 18 replies, 4 voices, and was last updated 1 year, 7 months ago by
Leo.
-
AuthorPosts
-
July 29, 2019 at 7:59 am #970190
Robin
I am finally the PTE for the translation of the GP theme! Approved all translations, and the translation (Dutch) has been added to the site with the WP updater.
Now when I go to the Customizer, all is still in English. The translations are not loaded.
Downloaded the .po file from my site using FTP, and that one is all in Dutch, so the translation is there.
I checked some of my other sites, and they all have the same issue. Cleared site cache and browser cache, no change.
Any idea what can be the problem?
July 29, 2019 at 5:09 pm #970573Tom
Lead DeveloperLead DeveloperHey Robin,
Thank you so much! Really appreciate it π
Is there an “Update Translations” button in “Dashboard > Updates”? If so, can you try clicking it?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 30, 2019 at 4:33 am #970907Robin
Hi Tom,
Thanks for replying. Gladly done!
Nope, all updates have been done.
Like I said, the translation is present in /wp-content/languages/themes and is called generatepress-nl_NL.po. The file is the correct version, it’s just not being loaded when running the Customizer.
On a test site I have, running GP, I turned off GPP (version 1.8.3) and the translations were showing. Turning GPP on again, and all is in English. So seems to be an issue in GPP.
BTW: I translated the theme into Dutch, but prefer the US version of the language file. Need to think of a solution for that π
Hopefully you can find what’s wrong.
Regards,
Robin
July 30, 2019 at 8:39 am #971214Tom
Lead DeveloperLead DeveloperHey Robin,
Strange, GP Premium shouldn’t interfere with translated words that are based in the theme.
However, GP Premium does overwrite some of the Customizer options that exist in the free theme, so it’s possible that you need to translate those specific words in GP Premium as well: https://translate.generatepress.com/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 30, 2019 at 10:14 am #971338Robin
GPP has been translated fully by me as well. The GPP screen is in Dutch, but the Customizer isn’t.
July 30, 2019 at 4:41 pm #971644Tom
Lead DeveloperLead DeveloperNone of the Customizer is at all? Or only some portions? If so, which portions?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 31, 2019 at 8:08 am #972247Robin
Almost all is in English, but a few translations slip through.
I took some screenshots from a demo side I have:
Main menu with GPP plugin on:
Main menu with GPP plugin off:
Mixed languages:
July 31, 2019 at 9:17 am #972319Tom
Lead DeveloperLead DeveloperSo it looks like your GP Premium translations aren’t coming through.
Just to confirm, you’ve added the complete
gp-premium-nl_NL.po
file to the wp-content/languages/plugins folder?Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJuly 31, 2019 at 9:30 am #972338Robin
Just checked in the /wp-content/plugins/gp-premium/langs folder (not /wp-content/languages/plugins) and there were some language files in there, but not the
gp-premium-nl_NL.po
andgp-premium-nl_NL.mo
files.I downloaded the .po and .mo from https://translate.generatepress.com/, placed them in /wp-content/plugins/gp-premium/langs, and now all is okay.
Thanks for that, but this does pose the following questions:
- why were the Dutch translations not in the folder, while some others (like Portuguese and Russian) were?
- why was a small part translated, but the rest not?
I guess it is not normal procedure for admins to have to download their languages, is it?
July 31, 2019 at 4:26 pm #972580Tom
Lead DeveloperLead DeveloperWe no longer want to store all of the available languages in the GP Premium plugin, as the size of the plugin will get pretty big.
Instead, it’s best to load those translations into the
wp-content/languages/plugins
folder, which is where WordPress stores languages now.We’re working on a one-click method to download those files and add them to that folder, so you don’t have to do it manually.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 1, 2019 at 5:50 am #972899Robin
I understand, that will be too much.
That would be very nice to be able to select the language you want to use from the GPP settings and have it installed automatically.
Thanks for all the replies!
August 1, 2019 at 9:18 am #973191Tom
Lead DeveloperLead DeveloperNo problem! Let me know if uploading the files to the wp-content folder doesn’t work π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 1, 2019 at 9:54 am #973242Robin
Works for me, but I’d rather not do this manually on all my client sites.
August 2, 2019 at 8:43 am #974072Ed
Hi,
After upgrading my WP site to GP Premium, I noticed that the
more
tag was reverted to Read more instead of the Dutch equivalent. So, if I don’t want to wait until the one-click method becomes available, how can I get hold of the two Premium language files, and fix the problem the same way Robin did?Ed van der Meulen,
The NetherlandsAugust 2, 2019 at 6:18 pm #974422Tom
Lead DeveloperLead DeveloperYou should just be able to change it in Customize > Layout > Blog.
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.