• Resolved andayanda

    (@andayanda)


    My site is multi language and I would like the form to be as well.

    It seems obvious but in the documentation I only found instructions regarding the date fields.

    Has anyone done it?

    Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @andayanda

    Thank you very much for using our plugin.

    Our plugin allows you to generate the texts at runtime as the result of the calculated fields’ equations, with information read from third-party services, data sources, etc. Therefore, the usual methods of internationalization do not make much sense.

    The alternative would be as follows:

    1. Create the main form, with every field, the equations, etc.
    2. Press the clone button from the plugin settings page corresponding to the main form.
    3. Translate the texts in the cloned form.
    4. Insert each form in the corresponding website’s pages.

    Best regards.

    Hi,

    I meet same problem @andayanda, if we can select full page Forms for clone and not one by one solution will be more fast.

    Regard

    Vincent

    Plugin Author codepeople

    (@codepeople)

    Hello @vcharlier

    The problem could be associated with texts generated on the client side. Since texts may be generated by third-party equations or services at runtime, we cannot guarantee that dynamic translations will not break javascript code blocks.

    Best regards.

    Thread Starter andayanda

    (@andayanda)

    hi v@vcharlier @codepeople

    The form is on the product pages and those are builts with the theme builder of Divi. That’s why the solution you gave me is not useful.

    This is the solution I have implemented and it works right now.

    <code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;"><script>jQuery(document).ready(function(){	
    <code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;">var myURL = window.location.href;	
    <code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;">if(myURL.includes("/en/")){		
    <code class="intercom-13impe" style="font-family: Courier, monospace; font-size: 14px; line-height: 1.4; white-space: pre;">jQuery(".my-module").hide();	}});
    <span style="font-family: Courier, monospace; font-size: 14px; white-space: pre;"></script></span>

    With a class my-module in the divi module with the shostcode of the form.

    I hope this may helps you

    Plugin Author codepeople

    (@codepeople)

    Hello @andayanda

    Thank you very much for sharing your solution.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘multi language’ is closed to new replies.