• Resolved Jahid

    (@jahidhasan018)


    Hi I have a multilagual site where my main Spanish and second language is English. I am using paid membership pro for that site and having some issues.

    First issue
    ———–
    When someone select English language and checkout via PayPal after redirect to membership confirmation page it’s redirect to the Spanish (Main Language) instead of English language.
    How I can fix that?

    Second issue
    ————
    If users checkout via English language page it’s send Spanish confirmation email
    How I can send confirmation email based on users language selection?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Additionally, how do you translate the 3 messages from the advanced menu? These messages are shown when some content is restricted in posts or pages via the shortcode.

    These 3 messages are not registered properly, so I cannot translate them via Polylang strings.

    The other labels are all well translated. Just those 3 languages can only be in 1 language.

    Can you register those 3 admin messages please,

    Thanks,

    Didier.

    Plugin Author Andrew Lima

    (@andrewza)

    Hi @jahidhasan018

    Thank you for reaching out to Paid Memberships Pro.

    Due to how WPML supports multi-locales it does not function 100% with Paid Memberships Pro as it creates duplicate pages for each locale set which causes the checkout/confirmation and possibly other areas of Paid Memberships Pro to not communicate properly and this is why the the pages are getting confused.

    If there is a way to keep the locale in the query parameters and load the pages locale accordingly that might be able to help you. Depending if WPML supports this – I cannot say from my end but this would be ideal.

    Secondly, if your Email Templates are adjusted/saved this stores the information in the database and would require a manual translation of the content based on locale. This would require a bit of development to figure out, here is an unofficial code snippet I’ve written in the past to support swapping of the emails based on the user’s locale – https://gist.github.com/andrewlimaza/20ca1baa7696b8e884f42b4c8446d659

    If you need help implementing this, please reach out to a local WordPress developer. I hope this helps get you started.

    Hi Andrew,

    One of my other plugins handled the text translations differently: in the admin backend, you can input your text for all languages that are installed. So if you have 3 languages installed, the admin page will ask you to fill in the text for the 3 languages. You store this 3 text in the database, and you pull that depending on the locale.

    Easy to do I imagine.

    Thanks,

    Didier.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WPML – integration with paid membership pro’ is closed to new replies.