whats the difference between compiler, translator and intepreter

and how to create translator, for my own language??