- From: Tobie Langel <notifications@github.com>
- Date: Tue, 09 May 2017 02:06:08 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 9 May 2017 09:06:47 UTC
> I'd rather not use extended attributes for this. Noted. > I guess we need to decide whether we want to support per-member localization like the i18n group suggests, or not, like @annevk suggests. That governs the shape of the solution. Can't we somehow have both? E.g. have dictionary members whose `LocalizableString` is a DOMString take the values of the `lang` and `dir` member of the dictionary: ```webidl dictionary FooBar : Localizable { LocalizableString foo; LocalizableString bar; }; ``` For example: ```js { lang: "fr-CH", foo: { value: "hello", lang: "en-US" }, bar: "bonjour" }; ``` where `bar` takes its `lang` value from the top-level `lang` attribute and `foo` from `foo.lang`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/358#issuecomment-300105542
Received on Tuesday, 9 May 2017 09:06:47 UTC