Completed

JavaScript to detect browser language, then redirect user to different URL based on detected language.

REQUIREMENTS:

1. Detect the user's browser language settings (likely with "[url removed, login to view] || [url removed, login to view]"). UNLESS! If the user has previously set a preferred language, don't bother detecting language. There's no need.

2. An optional language switcher should exist -- it must be a <select> element in HTML.

2.a. The select list overrides language detection. If the user selects "French" but the browser client is set to "English", go to French and stay in French on all subsequent visits. Use a cookie or local.storage.

3. Five languages should be supported, with more able to be added: English (US, default), Spanish (Spain), French, Japanese, and German.

4. If detecting a language that isn't supported by the website yet, default to English.

CAVEATS:

* A jQuery library is already included on the production site; version 2.1.4 I believe, so you can use jQuery scripting, but no additional JavaScript or jQuery libraries can be loaded.

* The site is being embedded into an app, so there's no domain other than a local web server. The localized languages for the site are all in the same folder relative to each other:

.../docs/en-us/[url removed, login to view]

.../docs/fr/[url removed, login to view]

.../docs/ja/[url removed, login to view]

.../docs/es-es/[url removed, login to view]

* No requiring changes to existing HTML documents in order for your solution to work, such as asking to modify the <html> element with a specific language attribute. Yes, we'll add the script and the <select> list, but we can't be burdened with making a dozen other tiny changes throughout thousands and thousands of files.

A sample (non-working, but decent starter) project is attached that shows the gist of what's trying to be achieved. Currently, the sample project resolves into a reload loop -- detect language (English), redirect to English page, English page loads, detect language (English), redirect to English page, and so on.

BONUS!

Extra $150 for completing project before 08:00 Wednesday, April 25, Mountain Daylight Time. Roughly 8 hours from now.

Skills: HTML, HTML5, Javascript, jQuery / Prototype

See more: i need a website for my company it has to very simple need 45 different pages homecontact about uscareer etc i need s, i need a website for my company it has to very simple need 4-5 different pages homecontact about uscareer ,etc i need s,, detect browser redirect, detect mac browser redirect url, javascript detect image redirect, javascript detect url redirect url ipad, javascript user input url redirect, user sees different content based url parameter, display different content based url parameter, apache php display different content based url, javascript redirect different websites based, redirect user based address aspnet, different content based url, javascript code correctly redirect user web page, php code redirect user paste url

About the Employer:
( 1 review ) Lehi, United States

Project ID: #16774527

Awarded to:

AndreiMk

Hello, I did a similar task recently while working on a job website, so I most likely can accomplish your project by 08:00 Wednesday if you accept my bid quickly. Please, look at my employers feedback here: http: More

$250 USD in 1 day
(77 Reviews)
6.9

19 freelancers are bidding on average $444 for this job

mingxiao2008

Dear Sir! I have checked your project and attached file. So I think i can do this. I have high skills in javascript and and HTML. If you invite me and discuss with me, soon I can start work. Thanks

$500 USD in 2 days
(44 Reviews)
6.8
xiqian88

Hello sir I read your proposal and i am very interested in your work I have 5+ years experience in javascript. I am sure i can satisfy you on time. Best regards

$500 USD in 10 days
(15 Reviews)
6.1
sypsoo

I am a Web development expert with over 8 years experience in setup and customization of WordPress, Shopify, magento, and other platforms. Till date, I have created over 50 websites, most of which required custom des More

$555 USD in 10 days
(31 Reviews)
5.7
monamangal280

Hi, I am an experienced Web Developer. I am having expertise in HTML/CSS/JavaScript & WordPress based development. I got the understanding of your requirement. I have done the similar job before as well. I will do t More

$250 USD in 10 days
(61 Reviews)
5.4
$555 USD in 1 day
(34 Reviews)
5.4
umesh655

Hello, Greetings of the day! Being a web developer I would like to make a difference in by accepting challenges. I am an experienced PHP & Wordpress Developer with a real passion for Development, working on a num More

$555 USD in 2 days
(24 Reviews)
4.6
AndrejStastny

Hi there - My name is Ase N from Russia. I’ve read your brief and can see that you’d like to build a Web app. My team has 6 years experience designing and developing web apps. I would approach your project by starting More

$555 USD in 10 days
(15 Reviews)
4.7
$555 USD in 10 days
(14 Reviews)
4.6
$555 USD in 10 days
(9 Reviews)
4.2
neverland23

Hello, sir Thanks for your job posting. i read your job requirements completely and understand all items clearly. very interesting and impressive. i'm Senior web developer specializes in Custom web site development More

$277 USD in 10 days
(12 Reviews)
4.2
marenchuk

Hello I read your proposal and understand all you need. Please give me the job. If you hire me I will finish your project in time. Thanks.

$555 USD in 10 days
(9 Reviews)
4.0
$250 USD in 1 day
(11 Reviews)
3.7
itoasis1

Hi. I have review your project description. I have full experiences in HTML Javascript Development. I am very interested in your project and also ready to start work immediately. Hoping for your soon Reply. Thank Y More

$250 USD in 10 days
(3 Reviews)
3.4
ShahidMahmood

Hi, I am a PHP/MySQL/Jquery developer with more than 8 years of experience. I have downloaded the source code and reviewed it, I will work on [login to view URL] file to complete it as described in the project descrip More

$277 USD in 1 day
(7 Reviews)
3.4
$333 USD in 10 days
(3 Reviews)
2.1
$555 USD in 10 days
(0 Reviews)
0.0
sumeet3885

I am expert in creating & designing online store, shopify/eCommerce websites, PHP, HTML/CSS @javascript simple to complex websites, and membership WordPress sites. All payment method like paypal, paypal pro, google More

$555 USD in 10 days
(0 Reviews)
0.0
$555 USD in 10 days
(0 Reviews)
0.8