Use accesskey "n" to jump to the internal navigation links at any point. Skip to the content start.

 
ishida >> utilities

i18n checker

This page looks for character encoding and language declarations in the HTTP headers or the head element of an (X)HTML page.

URI of the page you want to test:

Charset declarations

HTTP Content-Type No charset found.
Content-Type: text/html
meta charset element
utf-8
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
xml declaration None found.
HTML5 meta charset element None found.
Byte order mark (BOM) BOM

Language declarations

HTTP Content-Language
ka, ta
Content-Language: ka, ta
meta content-language element
en,fr,sp
<meta http-equiv="Content-Language" content="en,fr,sp" />
<html lang=
kk
<html lang="kk" xml:lang="to" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<html xml:lang=
to
<html lang="kk" xml:lang="to" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

Text direction

Default direction
ltr
<html lang="kk" xml:lang="to" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

Doctype of the page: xhtml1
Served as: html

Warnings

Warning: The HTTP Content-Language information doesn't match the lang attribute value in the html tag. The lang attribute will override the HTTP setting.
The HTTP value is ka, ta and the lang value is kk.
You should change the HTTP settings on the server, or change the lang attribute by editing the markup.

Warning: The lang attribute and the xml:lang attribute in the html tag have different values.
The lang value is kk and the xml:lang value is to.
You should change one of the values by editing the markup.

Warning: A lang attribute value did not match an xml:lang value when they appeared together on the same tag.
Number of errors: 5
<html lang="kk" xml:lang="to" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<p title="Armenian : Armenian" lang="hy, my" xml:lang="hy" class="phrase">
<p title="Canadian Syllabics : Inuktitut" lang="iu" xml:lang="iu_CA" class="phrase">
<p title="Devanagari : Hindi" lang="hi" xml:lang="ho" class="phrase">
<p title="Arabic : Urdu" dir="rtl" xml:lang="ur-UR" lang="ur" class="phrase">
You should change one of the values by editing the markup.

Warning: A language attribute value was incorrectly formed.
Number of errors: 4
<!--<link title="___VERSION DESCN IN FOREIGN LANG." type="text/html" rel="alternate" hreflang="___LANG" href="___AND THE HREF" lang="___LANG" xml:lang="___LANG" />
<a href="___HREF" lang="___LANG" xml:lang="___LANG">
<p title="Armenian : Armenian" lang="hy, my" xml:lang="hy" class="phrase">
<p title="Canadian Syllabics : Inuktitut" lang="iu" xml:lang="iu_CA" class="phrase">
You can find the correct way to supply values hereXXX. Note that attributes must contain a maximum of one language tag.

Warning: A tag uses a lang attribute without an associated xml:lang attribute.
Number of errors: 2
<p lang="el" title="Greek : Greek" class="phrase">
<p title="Akan : Latin" lang="ak" class="phrase">
If you want to process this file as XML, you should have both lang and xml:lang attributes with identical values, since XML processors only recognise xml:lang.

Warning: A tag uses an xml:lang attribute without an associated lang attribute.
Number of errors: 3
<p xml:lang="ja" title="Japanese : Japanese" class="phrase">
<p dir="rtl" xml:lang="he" title="Hebrew : Hebrew" class="phrase">
<p title="Devanagari : Nepali" xml:lang="ne" class="phrase">
If you want this file to be treated as HTML, you should have both lang and xml:lang attributes with identical values, since HTML processors don't recognise xml:lang.

Warning: Incorrect values used for dir attribute.
Number of errors: 1
<p dir="rlt" lang="he" xml:lang="he" title="Hebrew : Hebrew" class="phrase">
The value should be one of "rtl" or "ltr".

Developed by: Richard Ishida.

Web app created 8 January 2009. Last update 2009-02-06 7:34 GMT