How to make your own translation program in Python?

How can you make your own translation program in Python for languages?