• Hi

    thanks for your plugin, is very simple to use.

    I try to use it on a multilingual website & I have a question:

    Is possible to send different translated emails depending of languege of registred user? maybe using shortcode, mo file, function or hook

    Also I have found a possible bug:

    when the user register the username validation is checking only for usernames of members but not for usernames of wp users so this can lead to a security problem

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, as far as I know there is no option to send emails in different languages.

    In regards to the bug you reported, did you by any chance import the WordPress users into the members list using the following addon?

    Regards

    Thread Starter Mihai Visan

    (@misuv)

    Thanks

    that addon solved the problem

    for the part with translation here is function I use in another plugin. maybe is a similar solutions.

    https://kb.mailster.co/changing-text-snippets/

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I am glad the addon helped you fix part of your issue. In regards to the language issue the plugin developers will investigate further.

    Regards

    Plugin Author wp.insider

    (@wpinsider-1)

    We don’t have any multi-lingual option for emails. Whatever you configure in the email settings is what goes out. This one is not an easy thing to solve as different people like to configure different messages in there. Maybe down track we can do something about it. For the moment but the best option would be to have minimal message in the email and have a link there to bring the user back to your site where they can read any extra details in their language.

    Thread Starter Mihai Visan

    (@misuv)

    ok

    I will also look in your plugin code & if I found a solution I will write it here for all users

    Thanks for your help

    Thread Starter Mihai Visan

    (@misuv)

    Hi

    I partially solved (in an ugly way) and now your plugin is working in multilingual website:

    here is the ugly solution

    1. prevent plugin to auto update because I had to edit the plugin files
    2. edit the files:

    • class.swpm-front-registration.php
    • class.swpm-registration.php
    • other files as need it(search code for $body, $subject)

    the short codes for user handling are working in several languages so only the emails sent to users had to be translated.

    if the emails could be translated with hooks it would be a perfect plugin

    I’m sure it will be implemented in a future version

    Plugin Support mbrsolution

    (@mbrsolution)

    @misuv, thank you for sharing your multilingual solution. I am sure others that run into the same issue will find your solution to be helpful.

    Kind regards

    Plugin Author mra13

    (@mra13)

    We will look at it.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multilingual site’ is closed to new replies.