Support » Plugin: Translate WordPress with GTranslate » How to Set Default Language

  • Resolved fifthhouse

    (@fifthhouse)


    I am using gtranslate to translate my wordpress site from English to Spanish. However I would like the default language that displays on the site to be Spanish. I reordered the flag languages so that the Spanish is before English in the list, but on the website it still defaults to the original English. Is there a way to have it default to Spanish?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    You can call a javascript function to change the language automatically on page load:

    doGTranslate('en|es');

    We do not recommend doing this, it may cause SEO issues and overall user experience issues.

    Thanks! 🙂

    Thank you!

    votalif

    (@votalif)

    установил плагин – но он не выполняет функцию при открытии в браузере на английском или других языках – открывать как в браузере язык – он открывает всегда на русском – почему?
    https://capital-asset-limited.com/

    Автопереключение на язык браузера: “галочка” стоит – включено.

    Plugin Author edo888

    (@edo888)

    Hi,

    I can see you have javascript errors related to missing jQuery library on your website, when you fix it, it will be fine.

    Next time please open a new ticket for your request or contact our live chat: https://gtranslate.io/#contact

    Thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.