Skip to content

btavr/translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

This is a small translation app with Azure Cognitive Services based on the Microsoft documentation.

After adding your translator key run the following command

python translator-app.py

This should be an output example

[
    {
        "translations": [
            {
                "text": "Gostaria de dirigir o seu carro pelo quarteirão algumas vezes! Vamos visitar o Porto",
                "to": "pt-PT"
            },
            {
                "text": "Очень хотелось бы несколько раз проехать на своей машине по кварталу! Давайте посетим Порту",  
                "to": "ru"
            }
        ]
    }
]