PDA

View Full Version : language tag


loki
06-06-2003, 12:26/12:26PM
i'm optimising a site done in french and spanish.

the home page has both languages and then splits into each language.

i've added the language tags like this:
home
<META HTTP-EQUIV="Content-Language" content="ES,FR">

spanish only pages
<META HTTP-EQUIV="Content-Language" content="ES">

french only pages
<META HTTP-EQUIV="Content-Language" content="FR">


the title and description tags also follow this protocol, although i'm not too sure about the home page having 2 lots of tags so i've combined the languages into one title tage and one description tag.
ie <title>adelgazar mincir</title>

i can't think of a better way of doing this, although spanish is the more important language here (from a commercial point of view only), i don't want to discount french

several questions/doubts:
1. i'd be interested to hear your comments on this (you there french dread?)
2. if submitting to say yahoo.es, should i submit the homepage URL or http://www.primeschol.com/espaņol.html

thanks for your help.

g1smd
06-06-2003, 15:29/03:29PM
I don't know if it is valid to state more than one language for a page. It probably isn't.

At present there aren't a lot of things that pay attention to the contents of that tag, but gradually more things are. As online translation improves this tag will be more and more useful. It is already useful to people who do not know what the language is, but by looking at this tag they can readily identify it, just as long as everyone sticks to the language codes defined in ISO 4217 and the country codes defined in ISO 3166 standards.