ZenphotoCMS Forum
'lang' attribute in HTML tag - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: 'lang' attribute in HTML tag (/thread-10014.html)



'lang' attribute in HTML tag - bic - 2012-05-24

A suggestion taken from SEOquake Diagnosis tool is to add a lang attribute in HTML tag. I've done it in my custom theme by replacing
` with




'lang' attribute in HTML tag - acrylian - 2012-05-24

Actually you can also set the language via the ``tags in the head, which the html_meta_tags plugin can do if setup for it.




'lang' attribute in HTML tag - bic - 2012-05-24

Thanks acrylian, I missed it already was in that plugin...

EDIT:
By the way, for some reasons SEOquake Diagnosis still reports Language: Undetected after I've enabled the plugin, enabled both the language meta in the plugin options, and removed the lang attribute described in my first post.




'lang' attribute in HTML tag - acrylian - 2012-05-24

Sorry, I really don't know that tool but the meta tag way is for sure standard procedure. Be sure to clear the html cache if you use it.




'lang' attribute in HTML tag - bic - 2012-05-24

I don't know how reliable is that tool either, btw I have html cache disabled and I can't even use that, because of a problem with custom page as gallery index, very similar to the one we found about sitemap generation (http://www.zenphoto.org/trac/ticket/2160). But now I'm off topic. I should open a ticket about that.
I see now that you have fixed the sitemap issue, time for me to update again...