W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [A&E] Last Call comments (2): discovery & localization

From: Marcos Caceres <marcosc@opera.com>
Date: Wed, 23 Sep 2009 17:07:36 +0300
Message-ID: <4ABA2BA8.6020204@opera.com>
To: Robin Berjon <robin@berjon.com>
CC: Marcin Hanclik <Marcin.Hanclik@access-company.com>, "public-webapps@w3.org" <public-webapps@w3.org>

Robin Berjon wrote:
> On Sep 21, 2009, at 20:08 , Marcos Caceres wrote:
>>> 5.1
>>> Localization
>>> Shall it be possible for the widget to programmatically discover the
>>> localization path it was loaded from (section 9 of P&C)?
>> Yes, you can check its URI. If the implementation supports the window
>> object, then it possible.
> How? window.location will return widget:///foo.html irrespective of
> whether the runtime loaded /foo.html or /locales/fr/foo.html.

Ah, ok. Yes, forgot about that. Well, the best we can do is give the 
lang list that the UA is using? Ideas? is this really important? I can 
see it being useful to know where stuff is being loaded from instead of 
having to guess where a resource was loaded from.
Received on Wednesday, 23 September 2009 14:08:37 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:18 UTC