Support » Plugin: Weglot Translate - Translate your WordPress website and go multilingual » Weglot is not translating the URL and Text added by the Wp_localized_script func

  • Resolved rajeshsingh520

    (@rajeshsingh520)


    Hi,

    we have some Text and URL added on the page using wp_localize_script() but your plugin is not adding the translation for the text and the URL in this case

    may i know how we can add translation for this

    i even tried to detect the language of the site using get_locale() function of the WordPress but it alwasy return the original language of the site even when we are on other language

    If you can tell us if there is any function in your plugin that we can use to find the language used we can modify this data using our filter function

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Weglot is not translating the URL and Text added by the Wp_localized_script func’ is closed to new replies.