Choosing between Spanish and Portuguese
Spanish and Portuguese are close enough that automatic detection between them is unreliable, especially on short clips — there is simply not enough audio to tell them apart. Set both languages explicitly here rather than leaving the source on detection.
Because the two are so close, translation between them is largely a matter of vocabulary and written convention rather than restructuring sentences. Expect a Portuguese subtitle file that tracks the Spanish original almost line for line.

