1.2.0 • Published 12 months ago

i18next-spreadsheet v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
12 months ago

i18next Spreadsheets

i18next with google spreadsheets

Installation

Command-line:

npm install -g i18next-spreadsheet

Help

$ i18next-spreadsheet --help

Usage: i18next-spreadsheet <spreadsheet-id> [options]

Options:
  -v, --version           output the version number
  -s, --credentials <s>   Service Account credentials JSON data or file path
  -p, --locales-path <p>  Locale files path
  -n, --newline           Locale files end with a newline
  -h, --help              output usage information

Usage (CLI)

i18next-spreadsheet SPREADSHEET_ID -s tmp/credentials.json -p public/locales

About authentication

Since Google enforces OAuth 2.0, this module offers arguments for Service Account JSON credentials.