Takes vocab data from cloud spreadsheets and renders it into local json files.
Processes any spreadsheet in the cloud into a set of vocab json files.
- Add grunt-cloudfile-to-vocab as a dependency in your project's package.json
- In your Gruntfile.js, inside your grunt.initConfig(), add the following:
Register a task, e.g.
Create a Google spreadsheet and start populating it with content (see examples below).
Run your task to automatically generate vocab JSON files from a Google spreadsheet.
To run the tests add a google account user name and password into the grunt config file.
NB: The 'ignore' in the left column ensures that that row is not included in the rendered output.
| english | persianignore | Instructions go here. | ...project_header | Hello, World! | سلام جهان!project_intro | This is my intro... | این مقدمه من است ...
You can now populate your project with these variables, thereby being able to deliver your project in a language-agnostic way, paving the way for delivering to multiple nationalities.
Make sure you are not on a proxy network or it cannot connect to Google.