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. Weekly github digest (Tracker items) (from sysbot+gh@w3.org on 2020-03-11)
  2. Daily github digest (WG INTERNAL review issues) (from sysbot+gh@w3.org on 2020-03-10)
  3. Seeking guidance or closure on ISSUE-464 (from dom@w3.org on 2015-09-25)
  4. [Media Capture] 'label' needs direction and language metadata [I18N-ISSUE-464] (from addison@lab126.com on 2015-05-15)
  5. [minutes] Internationalization telecon 2015-05-14 (from ishida@w3.org on 2015-05-14)
  6. [minutes] Internationalization telecon 2015-05-07 (from ishida@w3.org on 2015-05-14)
  7. [minutes] Internationalization telecon 2015-05-07 (from ishida@w3.org on 2015-05-14)
  8. 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 <addisonI18N@gmail.com>, Chair, Richard Ishida <ishida@w3.org>, Bert Bos <bert@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: 464.html,v 1.1 2023/07/19 12:02:04 carcone Exp $