translator adiumscript
Posted: Wed Dec 20, 2006 1:50 pm
I'm creating an adiumscript that translates from one language to another. I'm done with the translation part. However, I have a couple questions about the adium part.
is it possible to have syntax like this
/translate english french Today is sunday
so the first input is the base language
second input is the target language
and the rest is the message
also is it possible to have pulldowns or any other kind of helper for the languages. Any help is appriated. thanks.
I tried this in the plist
/translate {from}{to}{text}
and in the applescript
on substitute(fromL, toL, messageL)
return fromL & toL & messageL
end substitute
bu it doesnt work
is it possible to have syntax like this
/translate english french Today is sunday
so the first input is the base language
second input is the target language
and the rest is the message
also is it possible to have pulldowns or any other kind of helper for the languages. Any help is appriated. thanks.
I tried this in the plist
/translate {from}{to}{text}
and in the applescript
on substitute(fromL, toL, messageL)
return fromL & toL & messageL
end substitute
bu it doesnt work