WordPress.org

Forums

Transposh WordPress Translation
Default Language is English & I need to open the site in Dutch (2 posts)

  1. shaikhad
    Member
    Posted 1 year ago #

    Hello,
    Kindly Help,
    I have a website written in English, I need to open the site in Dutch, as a First Language, Later can be changed to English.
    I have tried a plugin called "redirection" that append ?lang=nl to base url, and its working, but not able to change it to English version.
    Thanks a lot, For your time.

    https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,

    I assume that you are redirecting every time, so the default version is no longer accessible,

    The solution, use a cookie, you can find a code on how its done in our plugin language detection for the users code, to make it work in your scenario, just make sure that the language is always detected as English,

    Remember that its a session, so next time you open the site in the same browser instance, it will open in your original language and won't redirect.

    An alternate option (which I think is worse) will be to add the lang=en to the widget, and hope your redirections won't catch it, you will need to change the widget code in that instance,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Transposh WordPress Translation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags