w3c / i18n-activity

Home pages, charters, style-guides, and similar documents related to the W3C Internationalization Activity.
65 stars 23 forks source link

i18n-ISSUE-464: 'label' needs direction and language metadata #78

Open r12a opened 8 years ago

r12a commented 8 years ago

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:

§ https://github.com/w3c/mediacapture-main/issues/665

(Moving from http://www.w3.org/Mail/flatten/index?subject=i18n-ISSUE-464&list=public-media-capture )


Raised by:Addison Phillips Opened on:2015-04-24

http://www.w3.org/TR/2015/WD-mediacapture-streams-20150414/#widl-MediaStreamTrack-label

The 'label' value is described as follows:

User Agents MAY label audio and video sources (e.g., "Internal microphone" or "External USB Webcam"). The MediaStreamTrack.label attribute MUST return the label of the object's corresponding source, if any. If the corresponding source has or had no label, the attribute MUST instead return the empty string.

Since the value is intended to contain natural language text, probably for consumption/display to the end-user, maybe it should be possible to determine or set the language (@lang) and base direction (@dir) of the text. This will allow the text to be displayed properly in different contexts.

In addition, it may be useful to allow multiple labels in different languages (although generally the source's label is applied by the user's user-agent, and so will be appropriately localized??)

xfq commented 4 years ago

Comment from Dom: https://lists.w3.org/Archives/Public/public-i18n-core/2015JulSep/0066.html

aphillips commented 1 year ago

I believe we may still be in a not satisfied state here.

aphillips commented 4 months ago

Discussed in 2024-05-24 call https://www.w3.org/2024/05/23-i18n-irc#T14-27-14