diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/language.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/language.inc b/includes/language.inc index 803a63041..24267d8a1 100644 --- a/includes/language.inc +++ b/includes/language.inc @@ -297,7 +297,7 @@ function language_negotiation_get_switch_links($type, $path) { // Add support for WCAG 2.0's Language of Parts to add language identifiers. // http://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html foreach ($result as $langcode => $link) { - $result[$langcode]['attributes']['lang'] = $langcode; + $result[$langcode]['attributes']['xml:lang'] = $langcode; } if (!empty($result)) { |