JavaScript to detect browser language, then redirect user to different URL based on detected language.
$250-750 USD
Σε Εξέλιξη
Αναρτήθηκε περίπου 6 χρόνια πριν
$250-750 USD
Πληρωμή κατά την παράδοση
REQUIREMENTS:
1. Detect the user's browser language settings (likely with "[login to view URL] || [login to view URL]"). 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/[login to view URL]
.../docs/fr/[login to view URL]
.../docs/ja/[login to view URL]
.../docs/es-es/[login to view URL]
* 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.
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
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
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 the browser language based redirection perfectly.
I am sure you will appreciate my work and response time :)
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 checkout, Shipping method has been implemented.
Project development planning)
PHASE ONE: Design and UX/UI components for front-end related to your business.
PHASE TWO: Backend development and database creation.
PHASE THREE: Front-end integrations and testing and finally deliver.
I can complete this project as per your requirements and as per your required time zone. I can start this project immediately.
I have excellent communication skills & good command in English for both verbal & written & I will be available on your preferred time zone for further discussion.
Looking forward to work with you and developing a long term business relationship.