PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Multi-lingual support for chapter titles

Open BjornW opened this issue 1 year ago • 2 comments

Describe the problem to be solved

In PeerTube v6 the chapters feature has been enabled (awesome!).

As a video creator I'd like to add chapter titles in multiple languages so that viewers may select a particular point in time using a chapter title in a language they understand.

Describe the solution you would like

To solve this we need a method to add chapter titles in different languages and a way to display the requested chapter title in the player interface. The current interface for adding chapter titles could be expanded to allow multiple titles for the same time-code grouped by language.

As for displaying the chapter titles in the chosen language...Afaik there is no UI element yet to switch the player interface language. Perhaps an UI element could be added to set the language for the whole video player & let the chapter titles use this setting as well? And default to a set language (English?) if the requested chapter title language is not found?

BjornW avatar Dec 04 '23 09:12 BjornW

Hi, nice idea. I'm wondering how to extend this multi-lingual support to all the metadata attached to a video ? We could specify the title, description, tags, etc. in multiple language too, and let the visitor choose in his preferences. Maybe a lot of work to make it work through the fediverse too... But a good step for accessibility. :-)

EricGuic avatar Dec 05 '23 13:12 EricGuic

If anyone knows how other software architectures this use case, especially in the database I'd be very interested!

Chocobozzz avatar Dec 06 '23 07:12 Chocobozzz