W3C home > Mailing lists > Public > public-i18n-core@w3.org > July to September 2010

Re: proposal: add input/keyboard locale to text and keyboard events

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Wed, 04 Aug 2010 21:45:27 +0300
Message-ID: <4C59B547.6050209@helsinki.fi>
To: DOM public list <www-dom@w3.org>
CC: public-i18n-core@w3.org, aharon@google.com, Doug Schepers <schepers@w3.org>
http://lists.w3.org/Archives/Public/public-i18n-core/2010JulSep/0092.html

So does the inputModeLocale (or whatever to call it) really need to be
in the events?
Could for example navigator object have .currentInputModeLocale.
With that a text processor could try to guess the default language even
before user starts to type and show that to user.

During the events dispatched because of speech input for example,
currentInputModeLocale would point to the "currentInputModeLocale",
which is the locale for speech. Same with keyboards.
So the main difference would be just that the default locale would be
available even before any input has happened.



-Olli

PS. DOM 3 Events discussion happens in www-dom@w3.org.
     For some reason I can't even subscribe to public-i18n-core@w3.org
Received on Wednesday, 4 August 2010 18:46:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 August 2010 18:46:11 GMT