Viewing 4 replies - 1 through 4 (of 4 total)
  • hannah

    (@hannahritner)

    Hey,
    Thanks for reaching out! I’ll reach out to the dev team and get some insight from them regarding this. Thanks for your patience!

    Kindly,
    Hannah

    hannah

    (@hannahritner)

    Hi again,
    Is it possible that you’re trying to translate the admin dashboard page and not the customer controls? The handle for the dashboard scripts is ‘kadence-dashboard’. If you’re trying to translate the dashboard please try using the correct handle for the script. Let us know how this goes.

    Kindly,
    Hannah

    Thread Starter mortaza

    (@mortazaamoo)

    Hi Hannah
    it doesn’t work
    Not only does it not work but also the Kadence dashboard panel is gone!
    You can see the screenshot below:
    https://snipboard.io/ELyw6C.jpg
    Note that we have already translated these settings by this handle ‘kadence-customizer-controls’ and all translations are being shown correctly but without using wp_register_script() and wp_enqueue_script() translations are not shown.
    While using wp_register_script() and wp_enqueue_script() functions after registering and enqueuing the main js file in your theme, we get this error in console:
    Uncaught SyntaxError: import declarations may only appear at top level of a module ( customizer.js:6 )
    thanks for your help in advance

    hannah

    (@hannahritner)

    Hey,
    It seems you submitted a support ticket as well. Please refer there as our developer is waiting a response.

    Kindly,
    Hannah

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Kadence Load .json Script Translations from Child Theme’ is closed to new replies.