googledrive-i18n
v1.2.9
Published
make i18n json file from your google drive folder
Downloads
7
Maintainers
Readme
googledrive-i18n
Make i18n json file from your google drive folder
Requirements
- Google Account
- Google Sheet
- Google Service Account (with json file)
- node > 8
Install
npm i -g googledrive-i18n
or
npm i --save-dev googledrive-i18n
Usage
- 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/
- Create a folder on your google drive and get the folder id (https://drive.google.com/drive/folders/?ths=true)
- Create a google-sheet file
- Copy i18n template into your sheet and fill your own data https://docs.google.com/spreadsheets/d/1iBbPHwa81ZzRbNX8GwcaNQz_gWz8iPE88kU1R8WsL5M/edit?usp=sharing
- Share your folder to your service account email (something like [email protected])
- Use cli
gi18n -f <google drive folder id> -k <service account json file path> -o <output path>
- Check out your output path and find the i18n json file