Po Auto Translation Save

translate PO files automatically for FREE using google translate

Project README

po-auto-translation

Process to translate PO files automatically for FREE using Google Translate, the script is written using JavaScript

Requirements

  • Node.js (10+)

Steps

  1. Clone this repository

    git clone [email protected]:naskio/po-auto-translation.git
    
  2. Install dependencies

    yarn install 
    # or
    npm install
    
  3. Convert your PO file into CSV using the following command

    node index.js untranslated_XX.po > untranslated_XX.csv
    
  4. Upload untranslated_XX.csv to Google Sheet

  5. Use the formula

    =GOOGLETRANSLATE(A2;"en";"ar")
    
  6. Convert the translated columns to text using Copy the column then paste values only

  7. Export file to CSV translated_XX.csv (download CSV)

  8. Convert the CSV file to PO file using the following command

    node index.js untranslated_XX.po translated_XX.csv > translated_XX.po
    
Open Source Agenda is not affiliated with "Po Auto Translation" Project. README Source: naskio/po-auto-translation

Open Source Agenda Badge

Open Source Agenda Rating