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

    (@mbrsolution)

    Hi, what have you tried so far with this plugin? What is happening at present when you install this plugin and you view your website in a different language?

    Thread Starter vafo

    (@vafo)

    Whelp, I tried searching for these strings on string translation, where they were not.

    I tried finding them in the plugin code so I could wrap them in php GetText but couldn’t the location + irremediably broke my site trying to replace non-hardcoded strings (managed to recover by replacing the affected file)

    Presently the messages defined in the addon plugin are being presented in both languages.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for providing more information. The plugin developers will investigate further your issue.

    Plugin Author wp.insider

    (@wpinsider-1)

    The following line of code from the “classes/class.swpm-custom-message.php” file outputs the custom message (that you configure in the settings);

    return empty($msg) ? $default : do_shortcode($msg);

    Maybe you need to modify there and add whatever WPML stuff you want to add?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translating with WPML’ is closed to new replies.