Skip to content

Commit

Permalink
Add example of translationgen.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
seungwoohong committed Dec 28, 2023
1 parent 38dba76 commit bc0ac35
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,16 @@ $ yarn transgen
| sheetId | ID of sheet | - |
| output | output directory path | - |
| locales | Array\<locale\>, example: ['ko', 'en'] | - |

<br/>

### Example

```yaml
target: https://docs.google.com/spreadsheets/d/adfkljjdfslkjlk/edit#gid=0
serviceAccount: google-workspace-manager@your_project.iam.gserviceaccount.com
output: "./translation"
locales: ["ko", "en", "jp"]
sheet: "translation"
sheetId: your_sheet_id
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "translation-gen",
"version": "0.1.2",
"version": "0.1.3",
"description": "Generate translate json by google sheet automatically",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit bc0ac35

Please sign in to comment.