Skip to content

Commit

Permalink
Last step
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelowino committed Dec 13, 2021
1 parent c6aaa22 commit 486a6bb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,17 @@ To obtain an API KEY got to
```shell
https://console.cloud.google.com/apis/credentials?project=[your-google-cloud-project]
```
- Pick one of the available service accounts keys or creat a new one. In that case while selecting key choose JSON so that you can down the JSON file used above.
- Pick one of the available service accounts keys or create a new one.
- In that case while selecting key choose JSON so that you can down the JSON file used above.

## Run Translation

- Add your strings to the output.xml file.
- Update <string> tags to <strings>
- Execute the script while you go fetch some coffee, it takes some time.
```shell
$ cd target
$ java -jar Google-Translate-Labs-1.0-SNAPSHOT-jar-with-dependencies.jar
```

The project will generate localised content and place them in the project/target directory, in the format of [locale].xml e.g de.xml or zh.xml.

0 comments on commit 486a6bb

Please sign in to comment.