Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Proper language declaration for multilingual pages

Friday, October 5th, 2012 by Servage

It’s not so hard to set a HTML page’s language declaration with a meta tag, but have you considered what to do if you have a multilingual site or single page? Browsers, search-engines etc., can use this information to display a website better or index more logically. Like many other things, especially when talking about search engine optimization, it is down to the details. Declaring the proper language is one of those – it’s just more professional to do it right.

Meta Tag

<META HTTP-EQUIV="Content-Language" Content="fr">

Multilingual page

<dl >
<dt>British English</dt>
<dd lang="en-GB">Potato</dd>
<dt>U.S. English </dt>
<dd>Potato </dd>
<dd lang="de-DE">Kartoffel</dd>
<dt>French (France)</dt>
<dd lang="fr-fr">pommes de terre</dd>

It’s very simple as you can see above. Read more about the dl, dt and dd tags here at W3.


Proper language declaration for multilingual pages, 4.3 out of 5 based on 3 ratings
Categories: Tips & Tricks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet (leave a comment)

You are welcome to initiate a conversation about this blog entry.

Leave a comment

You must be logged in to post a comment.