Page MenuHomePhabricator

Set correct lang and dir attributes the individual subtitles fragments
Open, MediumPublic

Description

When we present a view of subtitles, we ideally want to present the subtitles in their own language and directionality.

Example: https://commons.wikimedia.org/wiki/TimedText:Angina_video.webm.ar.srt

(Note, that this is not about playing the video, but reading the text.)

Event Timeline

Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript
TheDJ triaged this task as Medium priority.May 11 2016, 6:49 PM

Actually, this is incorrect.. The native format of SRTs is ltr. Just because there is rtl text inside of it, doesn't mean that we should apply that to everything.

Instead, I would say that ideally, the page shows a 'parsed' view, instead of a raw view of the file. In that case we know where we show what.

TheDJ renamed this task from Set correct lang and dir attributes on the <pre> with the subtitles in TimedText:*.srt pages to Set correct lang and dir attributes the individual subtitles fragments.May 23 2016, 7:18 PM
TheDJ updated the task description. (Show Details)