Oups, looks like Kimiraikkonen understood much better (you don't want to
place the computer current language setting in a string but to check in
which language could be written a particular string of text ?)...
Don't know about 3rd party but :
- you could first quickly check based on letters i.e. if you see a
particular unicode charset it could give a first indication (for example if
you have chinese characters, cyrillic characters, latin characters it could
give a first clue).
- if you have then characters that are used in a fair number of languages
you could :
- either check based on basic words frequency (for example "this",
"that" ,"the", "it", etc... is more likely frequent in English)
- also letter frequency could be perhaps an indication
You may want to give some more details. For example on a web site, you could
also have lang attributes that are supposed to tell in which language is a
particular page/section (for use by screen readers for example). If you get
some text from there, you could then also check this info...
--
Patrice
"Patrice" <http://www.chez.com/scribe/a écrit dans le message de news:
OI**************@TK2MSFTNGP02.phx.gbl...
Hi,
The language of ?
http://msdn2.microsoft.com/en-us/lib...re(VS.80).aspx
could be what you are looking for...
"Cylix" <cy*******@gmail.coma écrit dans le message de news:
48**********************************...oglegroups.com...
>Is there any existing method in VB.NET or any 3-third party function
can find out the language in a string?
Let say, isChinese? isFrench?