Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"internationalization" section #1090

Open
aphillips opened this issue May 15, 2023 · 2 comments
Open

"internationalization" section #1090

aphillips opened this issue May 15, 2023 · 2 comments
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. TPAC2023

Comments

@aphillips
Copy link

Internationalization
https://w3c.github.io/manifest/#internationalization

This section currently reads as follows:

It is expected that authors will localize the content of a manifest by using one of the following options:

  • Dynamically setting the language:
    • This can include, for instance, asking the end-user what their preferred language is and dynamically adding or replacing the manifest link relationship to the document based on that language preference (e.g., using a URL like "manifest.php?lang=fr").
  • Using content-negotiation, or geotargeting, etc. on the server:
    • The server that hosts the web application could attempt to predetermine the end-user's language by using geotargeting or by using content negotiation (e.g., using [RFC7540]'s "Accept-Language" header, or even a custom HTTP header).

Given the options above, developers need to be mindful of the end-user's privacy with respect to their preferred language: When the end-user has explicitly indicated their language preference to a web application (i.e., when not just using the user-agent default language settings), sending the end-user's preferred language in the clear over the wire is generally not OK. Doing so would reveal personal information about an end-user. As such, developers are encouraged to use [TLS] to reduce the chances of pervasive monitoring of their Web applications [RFC7258].

The I18N WG notes that (as noted in a number of our other issues), the manifest spec does not provide mechanisms for localization of the manifest. I18N has a WG Note specifically about manifests (https://www.w3.org/TR/localizable-manifests) which might be helpful in designing language support.

The suggestion to "replace the manifest link relationship" is slightly at odds with the later recommendation not to send a user's language preference over the wire in the clear, since path, file, or parameter values in the URL involve sending a language tag.

Note that dynamic setting of the locale for the application's runtime (which is mostly what is described here) is not the same thing as the localization of the information provided in the manifest, which is generally used to provide a representation of the application on the user's device when the application is not running (that is, the information is not dynamic after installation). Also, most users prefer that their language choice be "sticky" between sessions, so that they don't have to constantly choose or switch the language to meet their needs. Finally, they prefer that the manifest description (name, icon, etc.) match their local locale settings.

I18N WG thinks that it would be helpful for our groups to have some joint discussion, as there are multiple issues involved in negotiating and managing user locale preferences and a reasonable amount of experience in the I18N and localization community about what works.

@aphillips aphillips added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label May 15, 2023
@marcoscaceres
Copy link
Member

@aphillips, meeting would be great. Should we find time during TPAC?

@dmurph
Copy link
Collaborator

dmurph commented Jul 21, 2023

@loubrett Are you going to be available during TPAC for a remote session? I'm guessing we would need to schedule the meeting early in Seville so it would be evening in Sydney.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. TPAC2023
Projects
None yet
Development

No branches or pull requests

3 participants