2
votes

I have an application that uses the YouTube API to display a list of playlists and videos from a particular YouTube Channel. The application supports multiple languages so I also used the localizations feature YouTube API offers and it works great with v3/videos and v3/playlists using the hl param, but the only problem I faced was with v3/playlistItems as it doesn't have support for localizations.

Please help me in adding localizations using v3/playlistItems so that all videos under a particular playlist displays localized title and description.

2

2 Answers

1
votes

An ugly work around is to send two requests. First fetch the video-ids by using v3/playlistItems, then use v3/videos with the video-ids separated by comma, to get the translation with the available hl param.

0
votes

There is currently no indicated way of doing this from the PlaylistItems docs. Try filing for a feature request here.