• Resolved samysalahgad

    (@samysalahgad)


    The auto translation based on browser language is not working for me, Is there anyway to set auto translation based on the default WordPress Language?

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

    (@edo888)

    Hi,

    Please post your website and the output you receive when you go to https://gtranslate.io/detect-browser-language

    Thanks! ??

    Thread Starter samysalahgad

    (@samysalahgad)

    I tried in incognito browser tab and it works fine, maybe it is a cache issue?

    • This reply was modified 1 year, 10 months ago by samysalahgad.
    Plugin Author edo888

    (@edo888)

    I have tested and it works fine for me. I set the browser language to French and open your website and I see the language is switched to French.

    Make sure to make tests in an incognito window to simulate a first time visit. If you manually select a language once, it is not going to switch it to French anymore automatically.

    Thanks! ??

    Thread Starter samysalahgad

    (@samysalahgad)

    But why auto detect works only when the floating widget activated?

    It should auto translate based on browser language whatever widget added or not

    Thread Starter samysalahgad

    (@samysalahgad)

    I just need to be auto translated without showing any flags

    Plugin Author edo888

    (@edo888)

    The widget must be active on your website. You can hide it with CSS if you do not wish it to appear.

    Thanks! ??

    • This reply was modified 1 year, 10 months ago by edo888.
    Thread Starter samysalahgad

    (@samysalahgad)

    What css code to add?

    Plugin Author edo888

    (@edo888)

    Something like #gtranslate_selector {display:none} if you are using Dropdown widget look.

    Thanks! ??

    Thread Starter samysalahgad

    (@samysalahgad)

    That was very helpful and hope add some cool options like default translation by country or by default WordPress language ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Auto translate based on WordPress default language’ is closed to new replies.