I've set up a multisite Wordpress installation, because I want to work with multipul languages. Everything work except the lang attribute. I want the admin panel to be English, but I want to give lang attribute the value of the language of the site it self (for example german). The only way I see to that is to change the admin panel to that language.
The code I'm using:
<html <?php language_attributes(); ?>>
The value I get on the site (with English admin panel):
<html lang="en_GB">
The value I want to get with the English admin panel:
<html lang="de">
My site uses a folder for the language not a sub domain. So the German site is: http://localhost/de/
lang
attribute inwp-admin
is defined by the language of the logged in user.