Re: [openscreenprotocol] Adds Presentation Receiver status.

> In the future, we could add an API like send(<body>, <locale>) to allow applications to pass a locale with a string to capture this pattern.

I agree with that idea.

> 64 characters captured all examples from the spec, but I didn't research this deeply.

Okay. I just wanted to confirm the reason of _64_ characters. Regarding the length, BCP-47 describes [Length Considerations](https://tools.ietf.org/html/bcp47#section-4.4) and indicates several examples and recommendations, e.g.:

- historically most language tags have consisted of language and region subtags with a combined total length of up to six characters
- RFC4646 recommended a minimum field size of 42 characters

> Maybe the i18n WG would have some advice for us on this.

Absolutely.

-- 
GitHub Notification of comment by tomoyukilabs
Please view or discuss this issue at https://github.com/webscreens/openscreenprotocol/pull/53#issuecomment-331019337 using your GitHub account

Received on Thursday, 21 September 2017 00:43:59 UTC