473,387 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Re: identify the language of a web page

VK
On Apr 12, 2:35 am, Dr J R Stockton <j...@merlyn.demon.co.ukwrote:
In comp.lang.javascript message <cda0f617-c9a0-4389-b79e-a02ad24852a6@k1
0g2000prm.googlegroups.com>, Thu, 10 Apr 2008 22:29:01,
"us...@yahoo.com" <us...@yahoo.composted:
Suppose I need to classify 10000 web pages based on their languages.
What should I look for to determine the language of each web page? Any
advice is welcome.

Consider <URL:http://www.merlyn.demon.co.uk/zel-82px.htmand siblings.
<OT>
more for ciwah, so OT, but still:
is there language code for multilanguage document, like lang="multi"
or something?
</OT>
Jun 27 '08 #1
1 959
VK <sc**********@yahoo.comwrites:
<OT>
more for ciwah, so OT, but still:
is there language code for multilanguage document, like lang="multi"
or something?
</OT>
All (or most, I'm not sure, pretty much all though) tags can have a lang
attribute, so the "multi-languageness" is built-in already.

http://www.w3.org/TR/REC-html40/stru...html#adef-lang

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Jun 27 '08 #2

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

Similar topics

2
by: Metropolis | last post by:
Hello All, I am currently trying to teach a web crawler how to identify blogs, that is I am trying to determine a fairly inclusive set of criteria that will help my crawler to identify them. ...
11
by: abracad | last post by:
Hi Is there any (preferably free) PHP script that will identify the country of a visitor, thus allowing one page to be delivered to those from A, B and C, and another to those from X, Y and Z? ...
12
by: clintonG | last post by:
I can't tell you how frustrated I get when going to a web developer's website and observing he or she is an idiot that has not grasped the most fundamental element of usability: page title naming...
3
by: cliffeh | last post by:
I have an Intranet application that I'm deploying to our Shop Floor. What I would like is to have a front page that receives the request, identifies the computer that it's coming from, and then...
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
3
by: Vivek | last post by:
Hi all, I have a problem in my web-app wherein I need to get the latest page from server on clicking of back button.. I know that it can be done by preventing/disabling the cache in jsp as ...
11
by: Terry | last post by:
Hi everyone. I was wondering if anyone can identify the fonts being used in the following design: http://www.geocities.com/terrance.murray/Restaurant/restaurantdesign.jpg Thanks in advance,...
2
by: xoinki | last post by:
hi all, I am just trying to identify which radio button is selected in JS. although the code in totality does not make any sense since this is just a sample. it is not able to identify the 's' name...
2
by: newbie | last post by:
Is there a tool to identify used / unused styles in a stylesheet? I have a tendency to accumulate styles in a stylesheet. Many of these styles are not actually employed by the page, so many of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.