I have a task of getting video with subtitles(caption) in the definite language
According to the query parameters documentation I use:
caption = true - subtitles filter
lr = en - original video language
hl = en - the primary language of the movies
lang = de - the language I want to get the subtitles
Query example:
https://gdata.youtube.com/feeds/api/videos?safeSearch=strict&strict=true&v=2&caption=true&key=XXX&q=football&hl=en&lr=en&lang=de
Result:
<errors xmlns='http://schemas.google.com/g/2005'>
<error>
<domain>GData</domain>
<code>unsupportedQueryParam</code>
<internalReason>Invalid query parameters:lang</internalReason>
</error>
</errors>
Could you explain me the reason of this result?