set_accept_language
set_accept_language($accept_string); - set the language in the acceptors (browser request headers)
the input Function accepts parameters:
$accept_string – new language in accepts (browser request headers)
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed