Simple Membership Plugin › Forums › Simple Membership Plugin › use the Simple WP Membership Plugin on a site with multiple language versions
Tagged: language versions, Mini Login Widget, polylang, site language
- This topic has 5 replies, 2 voices, and was last updated 4 years ago by
mbrsolution.
-
AuthorPosts
-
April 11, 2022 at 9:47 am #23778
AntonieP
ParticipantIs it possible to use the Simple WP Membership Plugin on a site with multiple language versions?
The site I maintain uses the Polylang language Plugin. The basic version of the site is Danish, and I can create a German language version for each site, which WordPress automatically controls when I’m “on the go” in the German language version. Unfortunately, this does NOT work when I go to “Login” via the Mini Login Widget. Because then I am always redirected to the Danish version of the Login page, even if I start from the German side (and and although I created a German version for the login page). Did I set something up wrong?, can the link be adapted to the language version system? (If so, howcan I do this? I can’t add any entries in the .mo files…)
Or can the plugin only be operated in one language version?
Here are my questionsn:
– With the mail text, I assume that we need different blocks with the different languages within the mail – or is something about .mo files or string translation possible here as well?
– How about the captions of the forms via the form builder? How can these be translated? (The question is obsolete if I cannot access the individual language version pages – see above)
– Language versions of the pages can be controlled via the plugin’s internal navigation including mini login widget or not? (Replace links with links of other language versions?)April 13, 2022 at 1:01 pm #23782mbrsolution
ModeratorHi, unfortunately our plugin is not really designed to run in a multi language site. However someone posted a solution. The following documentation can help you.
https://simple-membership-plugin.com/user-submitted-tweaks-simple-membership/
– How about the captions of the forms via the form builder? How can these be translated? (The question is obsolete if I cannot access the individual language version pages – see above)
In regards to the above question, please submit a premium addon support ticket.
Kind regards.
April 14, 2022 at 8:54 am #23790AntonieP
ParticipantHello and thanks for the link to the tweak. I’ll definitely try that.
Is this solution (Switch Login and Join-us URL by Site Language / Modification of the “get_login_link()” function in the classes/class.swpm-utils-misc.php file.) update-safe?
I also have the problem with the update security with the po and mo language files – is there a way to replace files in the plugin in such a way that they are not automatically overwritten during an update?
Thanks for further help 🙂
AntonieApril 15, 2022 at 5:01 am #23792mbrsolution
ModeratorHi,
Is this solution (Switch Login and Join-us URL by Site Language / Modification of the “get_login_link()” function in the classes/class.swpm-utils-misc.php file.) update-safe?
If you are referring to the documentation I shared above, then the answer is yes it is safe.
I also have the problem with the update security with the po and mo language files – is there a way to replace files in the plugin in such a way that they are not automatically overwritten during an update?
Unfortunately no. However the following third party plugin might be able to help you.
https://wordpress.org/plugins/loco-translate/Kind regards.
April 19, 2022 at 10:12 am #23797AntonieP
ParticipantHello,
I tried the tweak, but unfortunately it doesn’t work for me. When I follow the Links in the German language version I always are landing on the default (Danish) version of the plugin sites. When I THEN click at the German flag it changes to the German version of the current (Login / Join) site – but it is not possible to navigate to the German sites directly…
Is it possible that I can post the modified code privately so you can take a look and see what went wrong?Thank you.
April 19, 2022 at 12:29 pm #23798mbrsolution
ModeratorHi, Sorry but any custom coding related stuff needs to be handled as a custom development job so dedicated time can be allocated by the developer and a proper response can be given. Otherwise, we won’t be able to really investigate the requirement and check the code then respond with a solution.
Kind regards.
-
AuthorPosts
- You must be logged in to reply to this topic.