Support » Plugin: Transposh WordPress Translation » [Plugin: Transposh – translation filter for wordpress] Language when there's no querystring

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ofer Wald

    (@oferwald)

    Well,

    If he made it default and will reopen the url again, he will be redirected once per session to the new url, other behaviors make less sense as the content will not be trusted (not the same content on the same url is not good) or the user will not be able to revert back to the original language

    Good luck

    Thank you for the reply, much appreciated. Could you please suggest for me the best way to manage this situation:

    – A user chooses French
    – On a given page there is a drop-down menu to “Browse products by price: low to high”
    – If the user chooses anything from this menu, the page is reloaded with the products re-sorted (normal behaviour)
    – PROBLEM: The page is now in English because the querystring (?lang=fr) is removed from the url.

    Perhaps this is a simple solution that I am not understanding!

    Thanks again for your time.

    Plugin Author Ofer Wald

    (@oferwald)

    You should check the form or urls that create said link and add the missing param there, or you can use the rewrite method /fr/ which will work over similar issues many times

    Good luck again

    Thanks again for your time Ofer, I will try modifying the form as suggested. I had already tried using the /fr/ solution for links but that ended up causing even greater problems since no products showed up at all. Likely a problem related to how Transposh and my theme (Express Store) work together.

    I can’t thank you enough for the help. Transposh is amazing and has really helped me with this project.

    Lastly, is it indeed normal behaviour for all “naked” links (no querystring) to revert to the default language? For example, now if a user chooses French and chooses to remember it, when they return to http://www.example.com, or to http://www.example.com/catalog, it is shown in English again (the default language).

    Thanks again.

    Plugin Author Ofer Wald

    (@oferwald)

    Well, when he reopens his browser and go there, he will be redirected to the language he chose as default, btw: if his browser defaults to that language this also happens.

    Just try it (close your browser)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Transposh – translation filter for wordpress] Language when there's no querystring’ is closed to new replies.