forked from wallabag/wallabag
Add lang attribute in html tag
This commit is contained in:
@ -248,4 +248,9 @@ class Tools
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
public static function getDocLanguage($userlanguage) {
|
||||
$lang = explode('.', $userlanguage);
|
||||
return str_replace('_', '-', $lang[0]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user