W3C home > Mailing lists > Public > public-geolocation@w3.org > October 2008

Re: PositionError - DOMString message

From: Andrei Popescu <andreip@google.com>
Date: Wed, 15 Oct 2008 11:14:04 +0100
Message-ID: <708552fb0810150314m4e89453by5231d5985b0cfab4@mail.gmail.com>
To: olli@pettay.fi
Cc: public-geolocation@w3.org

On Tue, Oct 14, 2008 at 11:42 PM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote:
>
>>On Tue, Oct 14, 2008 at 12:48 AM, Doug Turner <doug.turner@gmail.com>
>> >wrote:
>>>
>>> If I recall correctly, the message attribute on the position error was
>>> suppose to be for debugging purposes.  However, it was brought up that
>>> this
>>> message may be displayed to the user.  Should this string be localized?
>>>  Should we change the draft spec to suggest that this string is localized
>>> and can be displayed to the user?
>>>
>
>> Hmm, not sure. I think most implementations will end up using
>> different strings. If those strings are shown to the user, then the
>> error messages that the user sees will be quite technical and will
>> also look different depending on the UA that she is happening to be
>> using at the time, which may be somewhat confusing. I'm thinking that
>> the applications that use the Geo API are in a better position to
>> handle the UI for the error situations, so we should not encourage
>> them to just print out the API error messages.
>>
>> Andrei
>
> Though, even if the .message is for developers only, it could be localized.
> Mozilla does that for different kinds of errors
> or warnings which are printed to error console.
>

Fair enough. But does that need to be explicitly mentioned in the
spec? I'm not sure it does.

Terveisin,
Andrei
Received on Wednesday, 15 October 2008 10:14:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:51 UTC