]> git.mxchange.org Git - friendica.git/commitdiff
set language in HTML header to selected UI language
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Apr 2016 18:55:39 +0000 (20:55 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 3 Apr 2016 18:55:39 +0000 (20:55 +0200)
view/default.php

index 121d5212c6291995f789ab7ad4b0abcd458fbd12..df9adbc39218f6c170934ead79ce9948b24d016e 100644 (file)
@@ -1,5 +1,5 @@
 <!DOCTYPE html >\r
-<html itemscope itemtype="http://schema.org/Blog" />\r
+<html itemscope itemtype="http://schema.org/Blog" lang="<?php echo $lang; ?>">\r
 <head>\r
   <title><?php if(x($page,'title')) echo $page['title'] ?></title>\r
   <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>\r