Ticket #58 (closed enhancement: fixed)
support for language meta/html tag translation
| Reported by: | datapharmer | Owned by: | ofer |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.5 - Beta wordpress plugin |
| Component: | Parser | Version: | 0.3.4 |
| Keywords: | meta, language, dialect, accessibility, screen reader | Cc: |
Description
I know that xml namespace language is set correctly by transposh, but is it possible to also convert or insert language and dialect meta/html tags? They aren't currently being recognized or inserted as far as I can tell and are very important for the disabled since they assist screen readers in decoding content.
Commonly recognized tags are:
<html lang="LA">
<html lang="LA" xml:lang="LA">
<meta http-equiv="Content-Language" content="LA-CO"/>
<meta http-equiv="language" content="LA"/>
<meta http-equiv="dialect" content="CO" />
LA = language abbreviation
CO = country abbreviation
References:
http://www.w3.org/International/questions/qa-http-and-lang
http://www.w3.org/TR/WCAG10-HTML-TECHS/
http://www.smashingmagazine.com/2009/06/18/10-ways-to-make-your-site-accessible-using-web-standards/

As far as I see in the code, the html lang one is already taken care of long ago.
meta language is not used (atleast in wordpress) and I don't know how useful it is (given the lang)
the country ones I don't know if we can even handle at this phase
Any new points for (and against) this ticket will be welcomed