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

Remove recommendation to localize sheet based on body element #896

Merged
merged 2 commits into from
Feb 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1089,12 +1089,23 @@ <h2>
</li>
</ol>
</li>
<li>Present a user interface that will allow the user to interact
with the |handlers|. The user agent SHOULD prioritize the preference
of the user when presenting payment methods. It is RECOMMENDED that
the language of the user interface match the [=node/language=] of the
<a data-cite="HTML/dom.html#the-body-element-2">the body element</a>
element.
<li>
<p>
Present a user interface that will allow the user to interact
with the |handlers|. The user agent SHOULD prioritize the
user's preference when presenting payment methods.
</p>
<aside class="note" title="Localization of the payment sheet">
<p>
The API does not provide a way for developers to specify the
language in which the payment sheet is presented to end
users. As such, user agents will generally present the payment
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
sheet using the user agent's default language. The working
group is contemplating adding the ability for developers to
specify the language of the payment sheet, and of specific
{{PaymentItems}}, in a future version of this API.
</p>
</aside>
</li>
<li data-tests=
"show-method-optional-promise-rejects-manual.https.html, show-method-optional-promise-resolves-manual.https.html">
Expand Down