S
S
sergeyain2014-09-03 02:41:17
Computer networks
sergeyain, 2014-09-03 02:41:17

How to set up automatic language switching on the site?

Website. Russian and English speaking users. The articles on the site have been translated. How can I make it so that when an English-speaking user visits the site, the English version is automatically displayed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2014-09-03
@syschel

$_SERVER['HTTP_ACCEPT_LANGUAGE']
habrahabr.ru/post/159129

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question