|
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:
CaptionEnglish => {
Require => 'Caption-Abstract',
ValueConv => '$val =~ /(^|\|)\s*\s+(.*?)\s*(\||$)/si ? $2 : undef',
},
This creates the "car". Verry Good, nearly done :)
But:
CaptionDeutsch => {
Require => 'Caption-Abstract',
ValueConv => '$val =~ /(^|\|)\s*|\s+(.*?)\s*(\||$)/si ? $2 : undef',
},
creates nothing :(
Could you help me one more time, please?
Many greetings from
pixelpicker |