On Fri, Dec 7, 2012 at 4:25 PM, Robert O'Callahan <rob...@ocallahan.org>wrote:
> On Fri, Dec 7, 2012 at 4:08 PM, Norbert Lindenberg < > mozillali...@lindenbergsoftware.com> wrote: > >> This sounds like non-trivial surgery on ICU. Yes, the APIs are >> synchronous. And we don't know whether the time when a user stumbles onto a >> Chinese web page that requests Chinese collation is really the best time to >> download the data - at that time the user may be roaming in China with a >> U.S. data plan... >> > > It may not be easy, but I think it's worth jumping through some hoops to > avoid the download size hit. (Not to mention the B2G and Android footprint > hit.) One way this could work (straw-man proposal) is that when a locale is requested that we support but haven't yet downloaded data for, we simply start the download and pretend not to support that locale until the download has happened. When the download completes, show an infobar explaining what happened and suggesting the user reload the page. The data-plan issue you mention is real but automated Firefox updates have the same issue ... we could adopt whatever strategy we already have for that. Rob -- Jesus called them together and said, “You know that the rulers of the Gentiles lord it over them, and their high officials exercise authority over them. Not so with you. Instead, whoever wants to become great among you must be your servant, and whoever wants to be first must be your slave — just as the Son of Man did not come to be served, but to serve, and to give his life as a ransom for many.” [Matthew 20:25-28] _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform