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

Payer error dictionary not localizable #1359

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

Payer error dictionary not localizable #1359

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

Comments

@aphillips
Copy link
Contributor

14.1.2 PayerErrors dictionary
https://www.w3.org/TR/2020/CR-payment-request-20201203/#payererrors-dictionary

 const payer = {
  email: "The domain is invalid.",
  phone: "Unknown country code.",
  name: "Not in database.",
};

Example 13 shows the payer errors dictionary being used to convey unlabeled natural language string values. As noted in other comments, there is no language negotiation scheme in place. There is also no metadata here to help with display.


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 May 18, 2021
@aphillips
Copy link
Contributor Author

Forgot to remove pending label previously. This issue is merged into the issue 948 that I filed against payment-request.

@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