ISSUE-464: 'label' needs direction and language metadata

'label' needs direction and language metadata

State:
CLOSED
Product:
media-capture-and-streams
Raised by:
Addison Phillips
Opened on:
2015-04-24
Description:
THREAD: http://www.w3.org/Mail/flatten/index?subject=i18n-ISSUE-464&list=public-media-capture



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??)
Related Actions Items:
No related actions
Related emails:
  1. Seeking guidance or closure on ISSUE-464 (from dom@w3.org on 2015-09-25)
  2. [Media Capture] 'label' needs direction and language metadata [I18N-ISSUE-464] (from addison@lab126.com on 2015-05-15)
  3. [minutes] Internationalization telecon 2015-05-14 (from ishida@w3.org on 2015-05-14)
  4. [minutes] Internationalization telecon 2015-05-07 (from ishida@w3.org on 2015-05-14)
  5. [minutes] Internationalization telecon 2015-05-07 (from ishida@w3.org on 2015-05-14)
  6. I18N-ISSUE-464: 'label' needs direction and language metadata [media-capture-and-streams] (from sysbot+tracker@w3.org on 2015-04-24)

Related notes:

removed 'provisional' marker per teleconference

Addison Phillips, 15 May 2015, 15:36:50

https://github.com/w3c/i18n-activity/issues/78

Richard Ishida, 17 Mar 2016, 12:49:20

Display change log ATOM feed


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $