HTML tag lang property
Posted: Mon Oct 13, 2014 3:25 pm
The html tag of Hesk is always:
The lang and xml:lang should change if is installed a translation (Chrome asks if I wanna translate a translated page).
For example, with the Italian translation the html tag should be:
I hope that this feature will be included in the next version of Hesk. Which variable I can use now to know the current language?
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
For example, with the Italian translation the html tag should be:
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">