• Resolved raqibnur

    (@raqibnur)


    I translated a site; the default language is French, and the target language is English. When the plugin is active and I visit the site, it redirects to /en. Sometimes the switcher works; sometimes it gives a 404 error.

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

    (@gkanters)

    The plugin sets a cookie if you switch to English and so it is intended behavior that it will redirect to /en

    The 404 is off course not intended. Is that for the homepage (/en) or other pages ?

    Can you provide the site name so I can take a closer look and please use the latest version of the plugin. Version 1.x had some issues with page routing which would cause 404 in some cases.

    Thread Starter raqibnur

    (@raqibnur)

    Some issues are solved, but the main issue is that when I visit the site, it redirects to /en, although the site’s default language is French. https://cohesi-d.ca/

    • This reply was modified 5 days ago by raqibnur.
    Plugin Author Gerard Kanters

    (@gkanters)

    I tested it and it works as designed. If you visit the site and use the switcher to switch to english. The next visit, the site will show english. This is because the plugin will use cookies to remember the users preferred language.

    If you switch back to french using the switcher. The next time you visit the site, it will use french.

    There is still a problem with other languages. Which model do you use for translation ? Or is translation disabled in the admin panel now. If so, disable all “Detectable Languages”. Otherwise users get a 404

    Plugin Author Gerard Kanters

    (@gkanters)

    Works as designed

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

You must be logged in to reply to this topic.