You can translate the Manage Subscriptions page using a language file. There are already some languages available, see here: https://github.com/TribulantSoftware/wp-mailinglist-languages
If you want the page’s language to change based on user language selection using WPML or qTranslate-X for example, you can insert 2 page IDs under Newsletters > Subscribers > Subscriber Management section. So the specific page ID will be served for the specific language the user is browsing in.
Thread Starter
cd_BE
(@cd_be)
So if I add the newsletters-lite-nl_NL.mo language file in newsletters-lite/languages it should work?
Also where can I find that file? on github.com I can only find wp-mailinglist-nl_NL.mo
Yes, that’s right.
The wp-mailinglist-nl_nl.mo file om Github is fine, just rename the file. Also don’t right-click and save file from Github, download the entire ZIP, else you’ll end up with an HTML file. https://github.com/TribulantSoftware/wp-mailinglist-languages/archive/master.zip
Thread Starter
cd_BE
(@cd_be)
I did that, but I still have the message: “No language file loaded, please ensure that newsletters-lite/languages/newsletters-lite-nl_NL.mo exists.”
And it exists.
Forgot the refresh the cache. Works fine now! thanks.
-
This reply was modified 9 years, 7 months ago by
cd_BE.
Great, I’m glad it’s working now.
@chantalc We are looking into this at the moment and will consider it. Our Github repo was setup before that system was available and we’ve just continued using it as it is. Thanks for your feedback.
Existing translations can be imported. Language updates (or new translations) will be pushed to sites using WordPress Update feature.
I guess only the text-domain should be added.
Nice, that will be a big plus. Thank you.
Thread Starter
cd_BE
(@cd_be)
Ah, nice.
I translate some plug-ins on https://translate.wordpress.org but because in the Tribulant plug-in they referred to github so that’s why I tried with GitHub.