Page MenuHomePhabricator

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

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

Amire80 created this task.May 10 2016, 5:59 PM
Restricted Application added a project: I18n. · View Herald TranscriptMay 10 2016, 5:59 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald Transcript
TheDJ triaged this task as Normal priority.May 11 2016, 6:49 PM
TheDJ added a subscriber: TheDJ.EditedMay 23 2016, 7:14 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)
Amire80 moved this task from Untriaged to RTL on the I18n board.Feb 27 2018, 7:10 AM