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:
- Create the main form, with every field, the equations, etc.
- Press the clone button from the plugin settings page corresponding to the main form.
- Translate the texts in the cloned form.
- 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
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.
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
Hello @andayanda
Thank you very much for sharing your solution.
Best regards.