Non vbs script

Is it possible to use a text formatting script (changing some text at postscript level) which is not a vbs script ?

I was hoping to use sed to convert some English words to Spanish from a program that outputs text in English.

Thanks for your help.