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.

--
Robin Berjon - http://berjon.com/




Reply via email to