- Python 3 (3.5+)
- deep_translator
- tqdm
- json
- asyncio
- Edit
input.json
to add key:value pairs (key value is translated) - Run script
- Enter target language
- Wait for the end of the translation execution (accompanied by the result of the execution progress)
- The finished translation of the json file is in
output.json
input.json
{
"first_block": "First block",
"second_block": "Second block",
"third_block": "Third block"
}
output.json
{
"first_block": "Первый блок",
"second_block": "Второй блок",
"third_block": "Третий блок"
}