OK - there was a misunderstanding - I didn't say clearly how the metadata is given:
its like this:
Caption-Abstract : Auto | car
Caption Language 1 : Auto
Caption Language 2 : car
Theres no "English" or other language in front.
I tried to modify your script. What I found out up to now: