[w3c/browser-payment-api] Add dir/lang member on dictionaries whose content is displayed in browser UI (#327)

As we can't mark-up the labels in dictionaries (using HTML), we might need to add `dir` ("ltr" and "rtl") members on dictionaries that contain things that are displayed to the end-user (defaulting to "ltr" when missing). So:

```JS
[
  displayItems: [{
    label: "البند الخاص (للبيع!)",
    dir: "rtl",
    amount: { },
  }]
]
```

Have the i18n folks looked at this API? They will likely ask us to add that. We might also need `lang`. 

cc @r12a. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/issues/327

Received on Wednesday, 23 November 2016 06:35:13 UTC