Re: [mediacapture-main] 'label' needs direction and language metadata (#665)

@alvestrand I expect you mean the discussion in @dontcallmedom's [comment](https://github.com/w3c/mediacapture-main/issues/665#issuecomment-596506363). If no other information is available, window.navigator.language (as a proxy for the system locale) is an appropriate fallback.

Imputing @dir from a language is [not recommended](https://w3c.github.io/string-meta/#bp_inferring_from_language) as the primary means of supplying direction metadata, but also can be used in cases where metadata is not available. For your specification, you should probably provide a three stage process: (i) the caller supplies the value; (ii) first strong detection on the display string; (iii) imputed from the language tag.

-- 
GitHub Notification of comment by aphillips
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/665#issuecomment-932262711 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 October 2021 14:08:42 UTC