What happened?
this is an enhancement request.
I am suggesting, because peertube is already working on improving the site accessibility for languages other than english, why not allow a user to add video title/description in multiple languages at the time of upload itself.
what this would achieve is, if i am on an instance and i select say "esperanto" or "french" or any other language, the interface changes language but unless the video uploader has written the video title and description and other stuff in that particular language, only that is displayed. This would be just like we can currently upload subtitles/captions for multiple languages. The same thing, allow an uploader to give description in multiple languages
Hello,
Some folks I know would need this feature! What would be the best way to implement it?
Here and here are the name and description attributes of the VideoModel. The first thing I think would be to extract the name and description to another model and make it in a way that a video would have many title and description. The default one would be the one with the same lang code as the video or the one mark as canonical, primary, etc, and the others would be translation. But I don't know if this is the best way to do it.
What would be the plan for this and I'll see if we can do something to implement it. :]
@Just1602 what I had in mind was this : suppose I am an english speaker. I am on a German instance. Because the videos would be all in German, I couldnt read them so I go to settings and set the display to English.
Now, using that "my setting" the video which has multiple title and descriptions, it would show me only English details. It would show German title to German speakers and other languages. It should be seamless
@test2a , I have the same idea as you, I'm just not sure what would be the best way to write the code and design this to keep the code clean.
@just1602 i have an idea. the way we add captions to a video. that tab could be improved to add multiple language title/descriptions. the important thing actually is to tell the software to honor the language setting which it already does BTW by filtering videos but now to add to that "filtering" system. now, the system "could" display videos if there is a description and title for that particular language.
@Chocobozzz have you some toughts on that?