- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 27 Jun 2022 17:54:47 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 28 June 2022 00:55:00 UTC
> FWIW, I think the prefers-language/prefers-languages media feature is interesting. I do wonder what use case(s) it has, however. I was thinking: 1. User browses the app in English and does not log in. For privacy reasons, the UA lies to the web page about the `Accept-Language` (always "en-US"). 1. User decides to installs the app. 1. The install prompt is presented and it is localized to match the actual OS preferred language. > It seems like the Accept-Language header is a much more valuable signal and would allow for better performance through server-side negotiation rather than handling things at the layout & rendering layer. Right, but this signal is for use outside of the browsing context. Like with changing icons based on `prefers-color-scheme` and icons, it might also change dynamically if the user changes their OS (or app) language from system preferences. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/manifest/issues/975#issuecomment-1168090003 You are receiving this because you are subscribed to this thread. Message ID: <w3c/manifest/issues/975/1168090003@github.com>
Received on Tuesday, 28 June 2022 00:55:00 UTC