• Resolved nickwe

    (@nickwe)


    Hello,

    I can’t edit any field when french (Fran?ais) is the default language of my website, this is what I get at the developper console:

    JQMIGRATE: Migrate is installed, version 3.3.2
    admin.php?page=ARForms-Lite&arflite_page_nonce=d495771fd0&id=100&arf_form_type=blank_form&form_desc&arf_sample_form_id&arf_sample_form_id_hidden=158%7E%7E1.5.3&arfaction=edit:224 Uncaught SyntaxError: Unexpected identifier (at admin.php?page=ARForms-Lite&arflite_page_nonce=d495771fd0&id=100&arf_form_type=blank_form&form_desc&arf_sample_form_id&arf_sample_form_id_hidden=158%7E%7E1.5.3&arfaction=edit:224:343)
    arformslite_admin_editor.js?ver=1.5.3:1 Uncaught ReferenceError: __ARF_FIELD_TYPE_LABELS is not defined
        at arfliteshowfieldoptions (arformslite_admin_editor.js?ver=1.5.3:1:13666)
        at HTMLAnchorElement.onclick (admin.php?page=ARForms-Lite&arflite_page_nonce=d495771fd0&id=100&arf_form_type=blank_form&form_desc&arf_sample_form_id&arf_sample_form_id_hidden=158%7E%7E1.5.3&arfaction=edit:1426:1938)
    arfliteshowfieldoptions @ arformslite_admin_editor.js?ver=1.5.3:1
    onclick @ admin.php?page=ARForms-Lite&arflite_page_nonce=d495771fd0&id=100&arf_form_type=blank_form&form_desc&arf_sample_form_id&arf_sample_form_id_hidden=158%7E%7E1.5.3&arfaction=edit:1426

    When I switch to English, everything is fine.

    Regards,

    Nicolas.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author reputeinfosystems

    (@reputeinfosystems)

    Hello,

    Sorry for the inconvenience. I’m providing you the steps to fix this with the french localization.

    1. Connect your website with FTP software
    2. Go to ‘wp-content/plugins/arforms-form-builder/core/controllers/’ directory
    3. Download or Open the ‘arflitemaincontroller.php’ file in edit mode.
    4. Go to line no. 2218
    5. replace the line with the following.
    $js_data = "__ARF_FIELD_TYPE_LABELS = '" . addslashes( json_encode( $field_type_label_array) ) . "';";
    6. Save and upload the file to ‘wp-content/plugins/arforms-form-builder/core/controllers/’ directory.
    7. It’ll ask you to overwrite/replace the existing file. Press ‘yes’ when prompted.
    8. Now login to your WordPress admin panel and confirm the changes.

    If you’re using any caching plugin then please clear the cache and then check again.

    You don’t need to worry about future updates, as this change will be added to the next release of ARForms.

    Thanks

    Thread Starter nickwe

    (@nickwe)

    thanks you, now working as expected ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not compatible with French’ is closed to new replies.