Reply To: user language

Technically from get_local().
There’re many ways to define it.
The simplest is to set WP_LANG in wp-config.php.
For multiple languages on one page you’ll need a plugin like qtranslate fore example.