• Hi.

    It looks like Ultimate Member and WPML are compatible, but I can’t find any way to translate Custom Message in User Roles with WPML.

    How can I do that?

    Thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @rolandasza,

    Have you tried to translate using WPML String Translation plugin?

    Regards.

    Thread Starter RolandasZa

    (@rolandasza)

    Hi @ultimatemembersupport,

    I added translation via WPML String Translation, but it doesn’t work- the default text is shown, no matter what language I’m in.

    Any ideas how to fix this?

    Kind regards

    Hi @rolandasza,
    I had the same problem and worked out a solution.

    Maybe it’s not the most elegant way to do that, but it worked for me.

    Inside the Ultimate Member plugin folder look for “templates/message.php”.

    On line 6 replace the existing code with this one:
    <?php echo __( ‘Your english custom message here’, ‘ultimate-member’ ); ?>

    Save the file and update the list of Ultimate Member strings in WPML.

    Translate the new string as you would normally do.

    Hope this was helpful

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to translate Custom Message in User Roles with WPML?’ is closed to new replies.