Hi everyone!
I have a small problem.
My problem is as follows:
1.
On a website, when a individual wants to change language onclick should fire up the following events
Get the current URL for example [url]www.microsoft.com/us/us/product[url]www.microsoft.com/us/fr/product
if it doesn’t get a 404 it should redirect, if it does then it should redirect to the startpage for the selected country.
I really hope you get what I want to accomplish. I’m a total newbie at JavaScript so I have no idea where to start.
Thanks a lot for your answers!