Skip to content

Webpack loader that grabs Google spreadsheets data as JSON (simple CMS for i18n string management)

Notifications You must be signed in to change notification settings

danmindru/gsheets-i18n-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gsheets-i18n-loader

Webpack loader that grabs Google spreadsheets data as JSON (simple CMS for i18n string management)

Demo

node demo Check output in demo/output/bundle.js

Testing

npm run test npm run test:watch

Usage

  1. Create a Google Spreadsheet like this one *

  2. Require a file some-file.gsheets (plain text) that contains your google sheet id ** (see demo).


* The spreadsheet should have the following format:

key en de jp
TEST Testosterone Testosteron テストステロン
QUOTE Q'uo"t Q'uo"t" Q'u'o"t

** Don't know how to get the id? Check this out.

About

Webpack loader that grabs Google spreadsheets data as JSON (simple CMS for i18n string management)

Resources

Stars

Watchers

Forks

Packages

No packages published