1.2.9 • Published 4 years ago

googledrive-i18n v1.2.9

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

googledrive-i18n

Make i18n json file from your google drive folder

Requirements

  1. Google Account
  2. Google Sheet
  3. Google Service Account (with json file)
  4. node > 8

Install

npm i -g googledrive-i18n

or

npm i --save-dev googledrive-i18n

Usage

  1. Create the service account and Enable the APIs (google-sheet, google-drive), please check this article http://isd-soft.com/tech_blog/accessing-google-apis-using-service-account-node-js/
  2. Create a folder on your google drive and get the folder id (https://drive.google.com/drive/folders/?ths=true)
  3. Create a google-sheet file
  4. Copy i18n template into your sheet and fill your own data https://docs.google.com/spreadsheets/d/1iBbPHwa81ZzRbNX8GwcaNQz_gWz8iPE88kU1R8WsL5M/edit?usp=sharing
  5. Share your folder to your service account email (something like account-name@project-name.iam.gserviceaccount.com)
  6. Use cli
    gi18n -f <google drive folder id> -k <service account json file path> -o <output path>
  7. Check out your output path and find the i18n json file
1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago