• Resolved triphop59182

    (@triphop59182)


    Hello,

    First of all, let me say that I’m very pleased with the plugin.
    However, I have a small problem.

    I’m using a trigger with conditions according to the visitor’s country, in order to display a different text. It works perfectly, but I can’t translate the sentences with WPML.

    Mind you, I’m not talking about the language-dependent trigger condition at all (which is possible by installing the WPML add-on), I’m simply trying to translate the content of the fields in the different versions (A, B, C…) of my trigger.

    The aim, for example, is to display “germany” in German if the visitor connects from Germany to my pages in German, and to display “germany” in English if he connects from Germany to my pages in English.

    Usually I just scan the plugin’s entries in the database with WPML’s “string translation” option, but here I can’t find anything when looking for examples of the contents of my versions.

    Another solution would be to be able to combine two conditions on the trigger pge (to be able to define: if the surfer comes from a certain country AND has a certain language), but I have the impression that this is not possible.

    Thank you very much for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @triphop59182 ,

    If I understand correctly, you can create separate triggers for each of the languages, each with the same conditions but with content translated into the relevant language. Then, you can embed each trigger in the corresponding WPML version.

    Wouldn’t this approach work?

    Thread Starter triphop59182

    (@triphop59182)

    Thank you very much, I hadn’t thought of doing it like that, but it’s a solution that should solve my problem!

    Good continuation to you and thank you for the reactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I translate trigger versions with WPML?’ is closed to new replies.