Re: dir/lang proposal

On Tue, Jul 17, 2012 at 1:39 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> There have been several concerns raised with the current solution for direction:
>
> * Too much complexity for developers
> * Not widely supported on platforms yet
> * Does not indicate the direction for the notification as a whole
> * Does not deal with direction changes within the same piece of text
>
> Going back to a single dir attribute for now makes sense to me,
> extending it later once we have some more deployment experience. We
> can then provide a specific override for the body text, rather than
> have a dir for each piece of text independently.
>
> I think we should do the same for lang. So just have the dictionary
> take a dir and lang member for now, extending it later as usage
> problems arise.
>
> For error handling I suggest we ignore the lang member and treat the
> language as unknown if its value could not be parsed (rather than
> throwing).
>
> Thoughts?

Sounds good to me. (I'd also love to get feedback on the icon issue
that I raised).

/ Jonas

Received on Tuesday, 17 July 2012 09:42:40 UTC