Replace letters in the alphabet with whatever you want to make your language.
Cool! Just a suggestion though, you can simplify your while loop like this:
text = 'y' while text == 'y': text = input("Type a sentence to use your dictionary") print(text.translate(mydict)) text = input("Do you want to write another sentence?").lower() print("Have a nice day!")