• Resolved G. Manucharyan

    (@g-manucharyan)


    Hi. I have a problem with CFF. I have 4 calculators. 2 in english and 2 in armenian. I paste two items on english translation, and 2 in armenian translation. Every time when I switch language one translated not showed in page. Can anyone help me?

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

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

    (@codepeople)

    Hello @g-manucharyan,

    Your website loads the pages with AJAX, and the new pages are not calling the resources in the footer. My recommendation, go to the settings page of the plugin (through the menu option: “Settings > Calculated Fields Form”), select the “Direct” option for the attribute: “Script load method”, and press the “Update” button.

    Best regards.

    Thread Starter G. Manucharyan

    (@g-manucharyan)

    The same error.

    Plugin Author codepeople

    (@codepeople)

    Hello @g-manucharyan,

    Please, include the following piece of code as part of your page:

    <script>jQuery(document).on('mouseover','.wpml-ls-flag',function(){delete fbuilderjQuery['fbuilderGeneratorFlag'];});</script>

    Best regards.

    Thread Starter G. Manucharyan

    (@g-manucharyan)

    Sorry dear @codepeople, but it’s giving the same error. Please help me to resolve the problem that I have with my website translation.

    Plugin Author codepeople

    (@codepeople)

    Hello @g-manucharyan,

    I’ve checked your website with Chrome and Firefox, and the pairs of forms are displaying in different languages when I press the flags in the website’s menu.

    Could you clear the browser’s cache and try again, please?

    Best regards.

    Thread Starter G. Manucharyan

    (@g-manucharyan)

    I do that. But sometimes it changing language of my forms by itself. Sometimes I’m getting English calculator in Armenian language page and sometimes for other. And sometimes websites not showing calculator and giving the same error which I getting yet. Maybe there are other problems with switching. If yes, can you solve it they are really exists.

    Sincerely,
    Gor

    Plugin Author codepeople

    (@codepeople)

    Hello @g-manucharyan,

    The issue is caused by the way your website is loading the pages’ contents (at level of theme) and not by the plugin. The theme is not executing the scripts that generates the forms when loads the pages with AJAX. For example, if your page is not displaying the forms, and you press F5 to reload the page, you will see that the forms are executed, because are triggered the correct events.

    Please, create a ticket in my private website for checking your theme in detail:

    https://cff.dwbooster.com/contact-us

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The issue was not related with our plugin, the content of pages are being loaded with AJAX, and was not running the javascript code that generates the forms, so, I’ve inserted in both pages a Raw JS block at the end with the following code as its content:

    <script type="text/javascript"> fbuilderjQuery.fbuilderjQueryGenerator(); </script>

    Forcing to the pages run the forms generator.

    Best regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error with translated pages’ is closed to new replies.