Skip to content

DandelionBold/TranslateBigFile

Repository files navigation

TranslateBigFile

logo.

This repo just for translation csv table to any language using Azure Translator Service REST API, 2023.

Main functionality

This project main functionality is to connect to Azure Translator Service REST API and ask to translate given text.

TranslateBigFile aims to be:

  • Easy to use
  • Flexible to support many languages
  • Powerful by using ai chatGPT

This project was built using GitHub Pages and Python 3.10.0.

Building and developing

If you want to setup TranslateBigFile from source you will need

You only need to run install the Python, once it installeed in the repository environment just run the following command to install needed libraries pip install -r requirements.txt after installing python. This will install all you want. You should not run pip install -r requirements.txt in each time.

Each file has its own build instructions in its own function.

How to use it?

  • You need to make file named .env this file will have in it some properties as following
AZURE_TRANSLATOR_SERVICE_REST_API_KEY=78973127983342197419801923879138
END_POINT=https://api.yourApi.Name.com
LOCATION_OR_REGION=YourLocation
API_PATH=/translate

To get your Azure Translator Service endpoint, follow these steps: 1. Go to the Azure portal. 1. Sign in to your Azure account. 1. Click on the Menu icon (three horizontal lines) in the top left corner of the page. 1. Click on All resources. 1. search your Azure Translator Service resource and click on it. 1. In the Overview tab, you will choose the plan and click create. (or just go to this link) After that you will find the data you want

About

Python tool to translate CSV tables into any language using the Azure Translator Service REST API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages