From 486a6bb9fcf0702c7f9f1f4229336106a407826d Mon Sep 17 00:00:00 2001 From: samuelowino Date: Mon, 13 Dec 2021 08:32:55 +0300 Subject: [PATCH] Last step --- README.MD | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 0b5f8b6..211e871 100644 --- a/README.MD +++ b/README.MD @@ -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. \ No newline at end of file +- 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 tags to +- 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.