Copilot language translation

In a recent Hackathon, content needed to be translated into multiple languages. Initially, web based translation services were used and a small sample was prepared to be used as a seed file.

It was surprising to find that Github Copilot can help you translate languages!

hindi.phrases.create!(label: "I need assistance", phrase: "मुझे सहायता की ज़रूरत है",
pronunciation: "mujhe sahaayata kee jaroorat hai")
hindi.phrases.create!(label: "Dial 911",
# then tab and Copilot will suggest:
hindi.phrases.create!(label: "Dial 911", phrase: "911 डायल करें", pronunciation: "911 daayal karen")

Much faster than looking up individually and generated 12 translations in 10 languages in minutes.