Vovsoft Logo
Vovsoft Facebook Page Vovsoft Telegram Channel Vovsoft Youtube Channel Vovsoft Twitter Account
Menu
How to Use “Batch Translator” Large Image

How to Use “Batch Translator”

Home » Blog Posts » How to Use “Batch Translator”
Date Last updated 5 months ago
*****
Rated 5.0 / 5 (2 reviews)

Vovsoft Batch Translator supports offline and online translation engines:

  • Argos Translate, which is an offline translation library
  • Microsoft Azure Cognitive Services API, which can translate up to 2,000,000 characters per month for free
  • IBM Cloud Language Translator API, which can translate up to 1,000,000 characters per month for free
  • OpenAI API, which can translate at an extremely affordable price
⚠️ Microsoft Azure, IBM Cloud, and OpenAI may require a valid credit card for registration and may not be available in some countries such as China and Taiwan.


👉 How to configure Argos Translate

Argos Translate is a translation library that works offline, supporting 30+ languages. Translations you make with Argos Translate may be a little slow because it uses your computer's hardware resources. Additionally, the translation quality is not as good as online APIs.

Argos Translate requires Python installation. We recommend Python 3.8.6 to avoid library incompatibilities.

After installing Python, please restart Vovsoft Batch Translator. When you click the "Translate" button for the first time, the software will install the base library, requiring approximately 1GB of storage on your computer. Moreover, the software will automatically download the language packs as needed.


👉 How to get Microsoft Azure API Key and API Region

Watch this YouTube guide to get an Azure API key: https://www.youtube.com/watch?v=l6Rl4HSZVvg

In order to get your Microsoft Azure API key and API Region, please follow the steps:

  1. Go to https://portal.azure.com and create your Microsoft Azure account for free.
     
  2. Click Create a resource.
     
  3. Choose Cognitive Services.
     
  4. After you created your Translator Service, your credentials can be found in Keys and Endpoint page: KEY1, KEY2 (any one of the keys should work) and Location/Region fields.


👉 How to get OpenAI API Key

In order to get your OpenAI API key, please follow the steps:

  1. Go to https://platform.openai.com/signup and create your OpenAI account.
     
  2. Get your API key: https://platform.openai.com/account/api-keys

For more information about OpenAI parameters such as model, temperature and tokens, please read: https://vovsoft.com/blog/how-to-use-openai-via-api/


👉 How to get IBM Cloud API Key and API URL

In order to get your API key and API URL, please follow the steps:

  1. Go to https://cloud.ibm.com/registration and create your IBM Cloud account for free.
    Please Note: If you get this error message "Your account cannot be created at this time", use your Gmail email address. It seems like IBM Watson doesn't like some email providers. So, if you have any such problems, just use another email address.
     
  2. Go to https://cloud.ibm.com/catalog/services/language-translator and create your Language Translator Lite Plan instance.
     
  3. Go to https://cloud.ibm.com/resources; under AI / Machine Learning tab, click on your Language Translator instance. Your credentials (API key and URL) will be displayed in Manage page.

IBM Cloud Credentials

Enter your API key and URL into the Settings panel inside Vovsoft Batch Translator. The software is now ready to translate multiple texts at once.

Batch Translator Settings Panel


How to translate files using command line

DOS Command Line

In addition to the graphical user interface, Vovsoft Batch Translator supports command line arguments.

Example for single file:

batchtranslator.exe -input InputFile.txt -output OutputFile.txt -api azure -from ENGLISH -to FRENCH

Example for multiple files:

start /wait batchtranslator.exe -input InputFile1.txt -output OutputFile1.txt -api azure -from ENGLISH -to FRENCH
start /wait batchtranslator.exe -input InputFile2.txt -output OutputFile2.txt -api ibm -from GERMAN -to JAPANESE
start /wait batchtranslator.exe -input InputFile3.txt -output OutputFile3.txt -api openai -from ARABIC -to DUTCH

Batch Translator Icon Batch Translator Windows

Fatih Ramazan Çıkan
About Author
Fatih Ramazan Çıkan LinkedIn
Software development enthusiast | Electronics engineer


Continue Reading


Comments Responses (12)


Avatar Image
Marcel
Nov 25, 2024 at 07:09 pm (PST) | Reply
Bonjour
j'ai acheté ce traducteur pensant pouvoir l'utiliser, mais pour un néophyte comme moi, c'est pratiquement impossible de plus, il est tout en anglais et je n'ai pas eu la chance d'apprendre cette langue : cela correspondent à 9,50 euros de jetée à la poubelle. Vous devriez faire savoir dès le début qu'il est nécessaire d'être calé en informatique.

Avatar Image
Nikki
May 7, 2024 at 11:23 pm (PST) | Reply
Can .docx or .doc be uploaded?

Avatar Image
Olivia Irving
Jul 13, 2022 at 01:25 am (PST) | Reply
Thank you very much for the step-by-step instructions. Everything works perfectly.

Avatar Image
nop
Dec 18, 2021 at 11:30 am (PST) | Reply
This program can't be used without to be a professional of IBM service I followed the steps but I can't create "Language Translator Lite Plan" IBM say me thing that I can't understand... You're software can't be used by a normal human. Won't download this except if you are a god of the TI

Avatar Image
Don
Feb 28, 2021 at 10:23 am (PST) | Reply
When following the directions it is rather simple to setup. It is rather limited in functionality in as far as only having 53 languages it's capable of translating, and not having a copy paste function that I've found as of yet. It also is lacking a "detect language" feature. I'm not aware of any advantage over Google Translate at this time, especially with Microsoft Edge now having the capability to basically make an api for sites like Google Translate so that anyone can "create an app" from pretty much any website for free. I can appreciate having another translation source from IBM that I probably wouldn't be aware of without your app but I've yet to need Google Translate and it be unavailable to me.

Avatar Image
T.Class
Dec 11, 2020 at 02:26 pm (PST) | Reply
My Batch Translate program is registered, but for the third day I can't use it because I can't register in Cloud IBM !?

Avatar Image
Lou
Dec 6, 2020 at 12:06 am (PST) | Reply
Meticulously followed all steps described above but Batch Translator failed to produce translation by generating the following error message: Error sending data (12175) A security error has occurred.
Avatar Image
Vovsoft Support
Dec 6, 2020 at 12:41 am (PST) | Reply
Hi Lou. We apologize for the inconvenience. It is a Windows 7 error message. Please install Windows updates in order to fix the problem, specifically this update.
Avatar Image
Lou
Dec 7, 2020 at 12:26 pm (PST) | Reply
Thank you Vovsoft Support for your feedback and the solution to the problem I faced with the software. You should make this explanation available to all since many are probably facing similar issues.

Avatar Image
jedu
Dec 5, 2020 at 03:29 pm (PST) | Reply
How to copy the translated text without having to generate a CSV file. Copying the translated text from the CSV file is laborious because instead of showing all the original text and then the translated text, the program shows sentence by sentence, original text and translated text.

Avatar Image
doddy
Dec 5, 2020 at 02:48 am (PST) | Reply
hello.. it's not working
Avatar Image
Vovsoft Support
Dec 5, 2020 at 11:57 am (PST) | Reply
Hi doddy. It should work after following the steps above. If you can provide more details, we can try to help you.

Leave a Comment