Skip to content

PiotrekPKP/tr-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tr-gen

Overview

This app alows you to generate json file with translations based on your Google Spreadheet!

Video

example.mp4

Building

Prepare your .env file:

SPREADSHEET_ID=<your spreadsheet's ID>
CLIENT_ID=<your client id>
CLIENT_SECRET=<your client secret>

Remember to add spreadsheets.readonly scope to your OAuth consent screen. Also, remember to add your Google Account with the spritesheet to test account in the OAuth consent screen section.

Build project

cargo build --release

Usage

USAGE:
    tr-gen [OPTIONS] --app <APP>

OPTIONS:
    -a, --app <APP>          Name of the sheet to use (eg. `landing_page`)
    -h, --help               Print help information
    -o, --output <OUTPUT>    Path to the output file [default: translations.json]
    -V, --version            Print version information

About

JSON Generator based on Google Sheets data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published