Closed

PHP conditional language forwarding

I need a code snippet, for a PHP redirection based on Browser language.

Imagine the following English url: [login to view URL]

Conditional forwarding to PT and CN. IF user's browser language is set to PT or CN, redirect to correct page,

i.e.

Portuguese: [login to view URL]

Chinese: [login to view URL]

If browser is ANY language except Portuguese and Chinese, stay on original page (no redirection).

Thanks a lot!

IMPORTANT: Freelancer.com is filled with bots. To confirm you've really read the project, please start your bid with the word "Doge". Also, max bid $10, not a cent more.

Skills: PHP, HTML, JavaScript, Website Build

See more: need code insert php near comments area wordpress, i have an existing php/mysql script that i need customized with additional functions, i need a code for buoyancy od circle, i need a css code, i need a letter in soanish translating to english, i need a logo based on my partial design, i need a web based programmer, i need php code for creating mobile tracker, i need to find a translator german to english, i need automatic translate for facebook greek to english, google downplay i need a flash enabled browser to watch my dog granddaughters basketball game, i need a italian words and translated in english please, i need an exact translation for anumanam in english, i need someone who can translate chinese to english in portugal, i need to write a short story for english, I need a clean and professional logo for our service company in Europe. We have a app, where people can simply book any kind for, I need a subscription based eCommerce , i need someone to translate my code to different language, Hello All, I need someone to write a php code to scrap some text, articles and images fr, do i need to upgrade my browser to use paypal

About the Employer:
( 25 reviews ) Montreal, Canada

Project ID: #31318761

13 freelancers are bidding on average $14 for this job

glennwilkins

sir message me i can do this ... sir message me i can do this ... sir message me i can do this ... sir message me i can do this ...

$11 USD in 1 day
(210 Reviews)
6.4
(188 Reviews)
6.5
RanaNadeemTahir

hi i am ready to manage this [login to view URL] and share more details.i am readt to do it [login to view URL] Doge

$10 USD in 7 days
(26 Reviews)
4.6
DanielCatalani

Doge Hi there, Let me work on this snippet for you. This is a very straight forward approach; The PHP code will detect the the client language and redirect to the appropriate page or remain in the same page if the lan More

$11 USD in 7 days
(14 Reviews)
4.6
(32 Reviews)
4.5
Timurtem

Hello, chrislavigneqc! ⭐⭐⭐⭐⭐ ************************ Doge ************************* I have 10+years of work experience in Web development using PHP, Python, ASP.Net, SEO, SMO, HTML, CSS, Javascript, JQuery, Wordpress More

$20 USD in 1 day
(12 Reviews)
3.8
(19 Reviews)
3.4
aminehamdani1994

Doge YOU ARE IN THE WRITE PLACE. Hello! I am a ANDROID APP developer and web expert as well ,I can start your work right now. Please contact me and let's discuss more technologies i know: java , android,kotlin,flutt More

$11 USD in 7 days
(8 Reviews)
3.4
sagarvishwakarm5

Nicely done it I hope u can give me you trust me I am reading this recruitment and I want do it next urstep

$11 USD in 7 days
(0 Reviews)
0.0
thitethite080

Doge easy see this code : <script type="text/javascript"> //get user lan var userLang = [login to view URL] || [login to view URL]; //check use lang if (userLang =="some language1" ) { //r More

$10 USD in 1 day
(0 Reviews)
0.0
Farzannaz8

I'm a Professional Web Developer and Mobile Developer with more than 6 Years experience in php, laravel, woocommerce, wordpress and all types of designing work. I have very good Knowledge and clear understanding of onl More

$11 USD in 7 days
(0 Reviews)
0.0
Daniildedov

Doge Hello Thanks for your job posting. I read your job desccription and it sounds like you want php script that redirect url based on the browser language. I can do this job properly. If you are interested in me plea More

$10 USD in 7 days
(0 Reviews)
0.0
sanjaysamant

Doge. Hi you mean you want to redirect the url based on browser language like someone set the chinese then cn bydefault right? And if any other browser then use the default language like- english right? I can add t More

$10 USD in 1 day
(0 Reviews)
0.0