Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language-sensitive SEs?


mhormann

Recommended Posts

Posted

Since I'll be running my osC in four languages, I'd quite like to know if search engines respect and/or check for language tags.

 

Apart from having the HTML_PARAMS in the <html> tag, I thought about adding a

<meta http-equiv="Content-Language" content="en">

tag, since I've done a mod to include extra header info anyway.

 

Then again, I don't want to get punished for having too bad a HEAD/BODY ratio...

Or maybe even get lower rankings since my site has the "wrong" language...

 

Still, it would be nice to get better ranks in language-specific searches for my site. And of course potential customers will be happy to see that my shop speaks their language (even if I might not...).

 

So is there a list or does anyone know which (if any) Search Engines look for language? And for what tags or header or meta info?

 

One more: Does anyone know if it is necessary to put above tag BEFORE the <title>, "Description" and "Keyword"? Or is that info taken "as is"?

I don't want to set the world on fire—I just want to start a flame in your heart.

 

osCommerce Contributions:

Class cc_show() v1.0 – Show Credit Cards, Gateways

More Product Weight v1.0

Posted
Since I'll be running my osC in four languages, I'd quite like to know if search engines respect and/or check for language tags.

 

Apart from having the HTML_PARAMS in the <html> tag, I thought about adding a

<meta http-equiv="Content-Language" content="en">

tag, since I've done a mod to include extra header info anyway.

 

Then again, I don't want to get punished for having too bad a HEAD/BODY ratio...

Or maybe even get lower rankings since my site has the "wrong" language...

 

Still, it would be nice to get better ranks in language-specific searches for my site. And of course potential customers will be happy to see that my shop speaks their language (even if I might not...).

 

So is there a list or does anyone know which (if any) Search Engines look for language? And for what tags or header or meta info?

 

One more: Does anyone know if it is necessary to put above tag BEFORE the <title>, "Description" and "Keyword"? Or is that info taken "as is"?

 

since SE's do not provide a browser language, they will get the default language from your site until they hit the link that changes your sites language. But because they do not get sessions, that other language does not hold. Then again, if you have the "change language link" on every page, they will index every page in every language.

Treasurer MFC

Posted

Yes, sure, thanks nevertheless. I'm just spidering myself... at about 30,000 links now...

 

I guess the question might be misunderstood: I wonder if SEs will actually take, say, the ITALIAN description for ITALIAN content and not maybe just the ENGLISH one (since they might have come in thru the English page).

 

When I'm reading this, I won't know the question myself... hm...

 

Let me rephrase. What I WANT is this:

 

I have no 'entry domain' for Italian or Dutch. Still, if somebody searches in Italy or The Netherlands (or specifies "I'm looking for Italian pages") they should get the ITALIAN (or DUTCH) description and keywords.

 

And so I wonder how SEs would distinguish CONTENT in different languages and whether I should maybe do like this:

<meta name="Description" lang="nl" content="Dutch description...">

 

OR if it would just be enough to have the

<html dir="LTR" lang="nl">

since HTML is actually parent to both HEAD and BODY und thus SHOULD set the language for the entire content.

 

As far as i understand HTML and the W3C, 'lang=' (except in <HTML>) should only be used if the language DIFFERS from the rest of the content.

 

This of course opens up the question if it makes sense to use

<meta http-equiv="Content-Language" content="nl">

or even have the server output an actual header containing the language.

 

I've also tried to contact some SE vendors, but to no avail. It seems the larger ones either dont (want to) understand the question or just want to keep everything a trade secret. Still waiting for Google's answer though. At least Google Germany SHOULD be interested... they're really not optimized for German searches.

 

*Phew* ... Xenu is a hell of a spider... 37,000 links for ONE osC shop already.

I don't want to set the world on fire—I just want to start a flame in your heart.

 

osCommerce Contributions:

Class cc_show() v1.0 – Show Credit Cards, Gateways

More Product Weight v1.0

Posted
Yes, sure, thanks nevertheless. I'm just spidering myself... at about 30,000 links now...

 

I guess the question might be misunderstood: I wonder if SEs will actually take, say, the ITALIAN description for ITALIAN content and not maybe just the ENGLISH one (since they might have come in thru the English page).

 

When I'm reading this, I won't know the question myself... hm...

 

Let me rephrase. What I WANT is this:

 

I have no 'entry domain' for Italian or Dutch. Still, if somebody searches in Italy or The Netherlands (or specifies "I'm looking for Italian pages") they should get the ITALIAN (or DUTCH) description and keywords.

 

And so I wonder how SEs would distinguish CONTENT in different languages and whether I should maybe do like this:

<meta name="Description" lang="nl" content="Dutch description...">

 

OR if it would just be enough to have the

<html dir="LTR" lang="nl">

since HTML is actually parent to both HEAD and BODY und thus SHOULD set the language for the entire content.

 

As far as i understand HTML and the W3C, 'lang=' (except in <HTML>) should only be used if the language DIFFERS from the rest of the content.

 

This of course opens up the question if it makes sense to use

<meta http-equiv="Content-Language" content="nl">

or even have the server output an actual header containing the language.

 

I've also tried to contact some SE vendors, but to no avail. It seems the larger ones either dont (want to) understand the question or just want to keep everything a trade secret. Still waiting for Google's answer though. At least Google Germany SHOULD be interested... they're really not optimized for German searches.

 

*Phew* ... Xenu is a hell of a spider... 37,000 links for ONE osC shop already.

 

 

all these headers depend on the language you serve them.

the spiders will read anything you give them.

when they come in, they get whatever language you have setup for them or the default one. Whether that is english, german, whatever.

only when they hit the link www.store.com/index.php?language=nl or something like that, they will receive the dutch pages along with the dutch headers.

 

so if you have a multi-language site and a link to change the language for your users, the spiders will see your pages in all of your languages.

 

I have english and chinese and both are indexed without any special treatment from my side. See spiders as simple users that cannot read javascript and did not define their browser language and do not get session-id's from you. Basically that is the only significant difference.

Treasurer MFC

Posted

"No special treatment" sounds good, thanks for the feedback!

 

So I'll probably just leave all the extra "lang" stuff out...

 

For those who are interested... still waiting for my Xenu report... last time I looked it had spidered about 60,000 links on my page (including each and every language), but it got a lot of session id's :-( (it opens up to 30 threads in parallel and hit my site quite hard *grin*)

 

So I'll have to check logs and put it into my spiders.txt :-)

I don't want to set the world on fire—I just want to start a flame in your heart.

 

osCommerce Contributions:

Class cc_show() v1.0 – Show Credit Cards, Gateways

More Product Weight v1.0

Posted

My reference is:

http://www.w3.org/TR/1999/REC-html401-1999...ng.html#h-8.1.2

 

8.1.2 Inheritance of language codes

 

An element inherits language code information according to the following order of precedence (highest to lowest):

 

and the following exemple

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

  "http://www.w3.org/TR/html4/strict.dtd">

<HTML lang="fr">

 

 

and in each /language/language.php there is already somewhere around line 48:

// Global entries for the <html> tag
define('HTML_PARAMS','dir="LTR" lang="fr"');
[CODE]// Global entries for the <html> tag
define('HTML_PARAMS','dir="LTR" lang="nl"');
// Global entries for the <html> tag
define('HTML_PARAMS','dir="LTR" lang="de"');
// Global entries for the <html> tag
define('HTML_PARAMS','dir="LTR" lang="en"');
// Global entries for the <html> tag
define('HTML_PARAMS','dir="LTR" lang="es"');

Posted

Authoritative reading John, thanks!

 

So I'll rely on good old <html> tag params mainly, DON'T put any extra in the META tags but still output the "http-quiv" tag—who knows. I think this'll give the best compromis between size and functionality.

 

After spidering myself a little, all this seems quite coherent (together with all the other mods I made).

I don't want to set the world on fire—I just want to start a flame in your heart.

 

osCommerce Contributions:

Class cc_show() v1.0 – Show Credit Cards, Gateways

More Product Weight v1.0

Posted
I have english and chinese and both are indexed without any special treatment from my side.

 

 

Off the original subject a bit, but hoping since you have chinese installed you might be able to give me a clue in the right direction.

 

Ive install the Traditional Chinese lang pack from the contributions.

 

Ive added "chinese" to my IE 6 browser.

 

When I switch to chinese on my site, the frame tags are showing: "/td>"

 

The same thing happened when I tried to install Russian.

 

Any ideas?

 

Thanks

Tammy

Posted
Off the original subject a bit, but hoping since you have chinese installed you might be able to give me a clue in the right direction.

 

Ive install the Traditional Chinese lang pack from the contributions.

 

Ive added "chinese" to my IE 6 browser.

 

When I switch to chinese on my site, the frame tags are showing: "/td>"

 

The same thing happened when I tried to install Russian.

 

Any ideas?

 

Thanks

Tammy

 

 

not sure what you mean with frame tags ?

 

when I switch from english to traditional chinese,

 

it will show this in the header of the pages :

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html dir="LTR" lang="zh-tw">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=big5">

<title>晶綵坊 :: 藝術</title>

<meta http-equiv="imagetoolbar" content="no">

<meta name="robots" content="index,follow">

<meta name="Author" content="Crystal Light Centrum">

<meta name="description" content="Crystal Light Centrum, 致力為您帶來最佳的水晶 , 首飾 , 珍貴的寶石和心靈成長課程 , 畫作 , 音樂,希望每一位朋友都能找到您所需要 , 喜歡的東西 ,別忘了與您週遭的人分享生命的喜悅 , 美麗與豐盛!">

<meta name="keywords" content="晶綵坊 , crystallight, 水晶, 水晶之光, 光的課程, 解夢, 台灣, 家庭系統排列, voyager tarot, tarot card 塔羅牌教學, 金字塔, 寶石, 礦物, 首飾, 水晶飾品, 原礦, chakra, 黃水晶, 碧璽 , 綠松石 , 海水藍寶 , 鈦晶, 青金石, 綠幽靈, 月光石, 舒俱徠石 , 紫水晶,紅石榴, 白水晶, 阿肯色水晶,粉晶 , 紅寶石, 手鐲子 , 水晶球, gilbert williams卡片畫報, gilbert williams 月曆, charles frizzle印地安卡片畫報 , oracle 天使卡, deuter cd 新時代, 日曆, 心靈成長 , 水晶光, 藝術, 治癒, 天使, 墜子, 各類水晶">

Treasurer MFC

Posted
not sure what you mean with frame tags ?

 

 

By frame tags, I meant .. While I am looking at the webpage:

 

the html tags are "showing" : such as "/td>"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...