473,805 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Search engines continue to ignore LANG markup

I have three test pages that are marked as Italian, Spanish,
Portuguese, resp. by

Content-Language: it
<html lang="it">
<body lang="it">

and the same for "es" and "pt".

Yahoo regards all three pages as Italian:
http://search.yahoo.com/search?p=%22...l=1&vl=lang_it

Google regards one as English (What??) and two as Spanish:
http://www.google.com/search?q=%22id...%22&lr=lang_en
http://www.google.com/search?q=%22id...%22&lr=lang_es

:-(

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Feb 28 '07
16 2071
mb
On Feb 28, 1:20 pm, David Dorward <dorw...@yahoo. comwrote:
mb wrote:
Content-Language: it
<html lang="it">
Can you inform a total ignorant? All these, and many other languages
too, can be typed on an international keyboard. Where is the sense of
arbitrarily assigning "language" to texts then?

It isn't arbitrary, it describes the language the content is written in.
This has implications for (among other things) what pronunciation
dictionary a screen reader should use and what an automated system could do
given an instruction to get some data if it knows what languages the user
can understand.
Thank you, wasn't thinking of that.
Meaning that if I somehow could get a tag on Word documents I could
stop that @##! Word spellchecker from "automatica lly" deciding what
dictionary to use for each %$@@! word?

Mar 1 '07 #11
mb wrote:
Meaning that if I somehow could get a tag on Word documents I could
stop that @##! Word spellchecker from "automatica lly" deciding what
dictionary to use for each %$@@! word?
Yes. And you can. The easiest way is to use Word's GUI for the task. My
Word is in Finnish so you have to press F1 for help :)

Osmo


Mar 1 '07 #12
On Wed, 28 Feb 2007, mb wrote:
Can you inform a total ignorant? All these, and many other languages
too, can be typed on an international keyboard. Where is the sense of
arbitrarily assigning "language" to texts then?
Search engines allow you to restrict your search to certain languages.
For example, you might want to restrict your search to English or
to French or to German when looking for the word "elf".
This will go wrong of course when the search engine is unable
to detect the language correctly.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Mar 1 '07 #13
On Wed, 28 Feb 2007, António Marques wrote:
I intended to write <meta http-equiv="Content-Language"
content="it"/>, as I suspect that's what search engines look at.
First, the slash is wrong in HTML.

Second, *everything* called <meta http-equivis only a poor ersatz,
a cheapo surrogate, a plastic imitation from China. What you should
have instead, is the *real* HTTP header

Content-Language: it

And that's exactly what I wrote in my original posting.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/sear...Alan.J.Flavell
Mar 1 '07 #14
mb
On Mar 1, 1:34 am, Osmo Saarikumpu <o...@weppipakk i.comwrote:
mb wrote:
Meaning that if I somehow could get a tag on Word documents I could
stop that @##! Word spellchecker from "automatica lly" deciding what
dictionary to use for each %$@@! word?

Yes. And you can. The easiest way is to use Word's GUI for the task. My
Word is in Finnish so you have to press F1 for help :)
Nah. When you have multiple languages installed the damn thing only
does "automatic" recognition, because "tools-language" selects them
all by default.

Mar 1 '07 #15
mb wrote:
>On Mar 1, 1:34 am, Osmo Saarikumpu <o...@weppipakk i.comwrote:
Yes. And you can. The easiest way is to use Word's GUI for the task. My
Word is in Finnish so you have to press F1 for help :)
Nah. When you have multiple languages installed the damn thing only
does "automatic" recognition, because "tools-language" selects them
all by default.
I don't understand. Are you saying that when you have multiple languages
installed Word GUI does not allow user defined language markup? I'm
sorry, but I have to ask: did you select part of the text before
applying the relevant language information?

An example:

I'm from Finland. Suomi is Finland in Finnish.

In the above text the word Suomi would be signaled as misspelled because
Word's automatic language recognition does not find the word in the
English dictionary. I guess that the correct procedure (using GUI) would
be to select the word and then change it's language to Finnish. And that
would end the (understandably mistaken) automatic recognition.

The code underneath the hood concerning our word before the change would be:

<span class=SpellE>Su omi</span>

And after the change:

<span lang=FI>Suomi</span>

HTH, Osmo


Mar 1 '07 #16
mb
On Mar 1, 2:02 pm, Osmo Saarikumpu <o...@weppipakk i.comwrote:
mb wrote:
On Mar 1, 1:34 am, Osmo Saarikumpu <o...@weppipakk i.comwrote:
Yes. And you can. The easiest way is to use Word's GUI for the task. My
Word is in Finnish so you have to press F1 for help :)
Nah. When you have multiple languages installed the damn thing only
does "automatic" recognition, because "tools-language" selects them
all by default.

I don't understand. Are you saying that when you have multiple languages
installed Word GUI does not allow user defined language markup? I'm
sorry, but I have to ask: did you select part of the text before
applying the relevant language information?
Yeah. Selecting the whole text does not allow you to define one
dictionary language for all. They say they fixed it in later editions.

Mar 1 '07 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1596
by: Simon Wigzell | last post by:
I generate my webpages from a database. A good many of my links are popup links. For convenience I am using a javascript function to pop up the window e.g. popInternalWindow("Home"); popInternalWindow(pagename) { popupString = "<%=session("DomainName")%>" = "/" + pagename + ".htm"; pagename = window.open(popupString,pagename,'');
11
4241
by: Petre Huile | last post by:
I have designed a site for a client, but they have hired an internet marketing person to incrase their search engine ranking and traffic. He wants to put extra-large fonts on every page which will make the design looks a bit rediculous. He also said that the big text cannot be hidden. I am just trying to find a compromise. Here are the questions: (1) Is it true that a page with an <H1> tag and very big font size will make a search...
8
2064
by: Craig Cockburn | last post by:
Hi I'm aware of the use of robots.txt and the use of <META NAME="ROBOTS" CONTENT="index,follow"> However, what would be more useful is to be able to control within a page which elements of the page should be indexed and seen by robots and which elements are simply page furniture and it is safe to ignore or not cache (e.g. adverts).
67
6085
by: Sandy.Pittendrigh | last post by:
Here's a question I don't know the answer to: I have a friend who makes very expensive, hand-made bamboo flyrods. He's widely recognized (in the fishing industry) as one of the 3-5 'best' rod makers in the world. He gets (sic) close to $5000 per custom made flyrod. A surprising number of people buy these fishing rods and never use them....they buy them as art-like investments. He is, after all, the best there is. But if you search on...
64
6438
by: Manfred Kooistra | last post by:
I am building a website with identical content in four different languages. On a first visit, the search engine determines the language of the content by the IP address of the visitor. What the user sees is content in only one language at a time. He or she can then switch to another language and set this as the preferred language, but again he or she sees content in only this one other language. The question now is: How do I get search...
16
2138
by: Kent Feiler | last post by:
If I understand the general direction of recent posts, the idea is to improve the quality of html/css by soliciting help from the various browsers. Browsers can certainly detect problems but they have no sensible place to report them and no way to prevent the same problem from happening over-and-over in multiple sites around the world. That idea simply doesn't work. But how about this one. Suppose we have all of those search engine...
7
9163
by: CAH | last post by:
Hi I need to make at multilanguage language site, and for that I need to identify the users, and register there choice off language. For that i imagine using cookies, since this is the only way to identify the users. But from what I read search engines ignore cookies, and at the same time I would like the users to be able to send links in there choice of language to there friends, so I would like this sort of url scheme.
0
9718
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10614
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3847
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.