[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-i18n
Subject:    Re: language guessing
From:       Jean-Marc Desperrier <jmdesp () alussinan ! org>
Date:       2005-06-09 21:33:53
Message-ID: d8ack4$ohg1 () ripley ! netscape ! com
[Download RAW message or body]

Tomasz Grobelny wrote:
> Jean-Marc Desperrier wrote:
>>No. If you need it, you need to have set properly a 'lang' attribute.
> 
> For web pages it rarely would be usable (if at all).

It is very useful for asian languages encoded in UTF-8.

> But I thought such a
> mechanism could for example choose appropriate phrases and signatures in
> e-mail client when replying.

There is the Content-Language header for that. Yes, it certainly would 
be a good enhancement to both send the Content-Language header in our 
messages, and use it to select those element when replying.

> Ok, thanks. I asked just because I was told mozilla has sth like this. It
> must have been a misunderstanding though.

It certainly was a reference to the character encoding guessing.

>>It would be expensive in term of CPU, and difficult to make 
> 
> I doubt it. _Maybe_ I will check if that's the case.

Now that I know that you are thinking about email that makes me believe 
that as we have Spell As You Type, it should be possible to try with a 
different dictionnary if the percentage of errors is too high and 
discover the correct one once the error ratio drops.
And update the language for the message based on that.
_______________________________________________
mozilla-i18n mailing list
mozilla-i18n@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-i18n
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic