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

payment shipping option label not localizable #1357

Closed
aphillips opened this issue Mar 15, 2021 · 2 comments
Closed

payment shipping option label not localizable #1357

aphillips opened this issue Mar 15, 2021 · 2 comments
Labels
s:payment-request https://w3c.github.io/payment-request/

Comments

@aphillips
Copy link
Contributor

PaymentShippingOption dictionary
https://www.w3.org/TR/2020/CR-payment-request-20201203/#paymentshippingoption-dictionary

label member
A human-readable string description of the item. The user agent SHOULD use this string to display the shipping option to the user.

The label member has no language or direction metadata. Further, it cannot be localized by providing reference to a multilingual construct of some sort. There doesn't appear to be a language negotiation mechanism so that a language can be requested.

The SHOULD might be problematic vs. allowing the user agent to wrap the provided display string with a localized value, i.e. it could say something approximately like:

The user agent SHOULD use this string (or a localized version available to the user agent locally) to display the shipping option to the user.


Instructions:

This follows the process at https://w3c.github.io/i18n-activity/guidelines/review-instructions.html

  1. CREATE A PROPOSED REVIEW COMMENT BY REPLACING THE PROMPTS ABOVE THIS PARAGRAPH, BUT LEAVE THIS PARAGRAPH INTACT AS WELL AS THE TEXT BELOW IT Then ask the i18n WG to review your comment.

  2. Set a label to identify the spec. This starts with s: followed by the spec's short name. If you are unable to do that, ask a W3C staffer to help.

  3. After discussion with the i18n WG, raise this issue to the WG that owns the spec. Use the text above this para as the basis for that comment.

  4. Replace the text 'link_to_issue_raised' below with a link to the place you raised the issue. Do NOT remove the initial '§ '.

  5. Edit this issue to remove this paragraph and ALL THE TEXT ABOVE IT.

  6. Remove the 'pending' label.

This is a tracker issue. Only discuss things here if they are i18n WG internal meta-discussions about the issue. Contribute to the actual discussion at the following link:

§ link_to_issue_raised

@aphillips aphillips added pending Issue not yet sent to WG, or raised by tracker tool & needing labels. s:payment-request https://w3c.github.io/payment-request/ labels Mar 15, 2021
@marcoscaceres
Copy link
Member

Can probably be addressed by revisiting w3c/payment-request#327

@aphillips aphillips removed the pending Issue not yet sent to WG, or raised by tracker tool & needing labels. label Mar 31, 2021
@r12a
Copy link
Contributor

r12a commented May 20, 2021

This was raised in a different issue, so closing.

@r12a r12a closed this as completed May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:payment-request https://w3c.github.io/payment-request/
Projects
None yet
Development

No branches or pull requests

3 participants