houshengbo closed pull request #629: update main project README to link to the i18n README. URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/629
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/README.md b/README.md index e564932..424fa87 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,11 @@ $ ./gradlew distDocker -PcrossCompileWSKDEPLOY=true Then, you will find the binaries and their compressed packages generated under the folder ```bin/<os>/<arch>/``` for each supported Operating System and CPU Architecture pair. +### Building for Internationalization + +Please follow this process for building any changes to translatable strings: +[How to generate the file i18n_resources.go for internationalization](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/wski18n/README.md) + <!-- ----------------------------------------------------------------------------- --> ## Troubleshooting diff --git a/wski18n/README.md b/wski18n/README.md index bfc3624..4747e10 100644 --- a/wski18n/README.md +++ b/wski18n/README.md @@ -1,13 +1,16 @@ -# How to generate the file of i18n_resources.go for internationalization +# How to generate the file i18n_resources.go for internationalization -As a contributor to wskdeploy, the file of i18n_resources.go needs to regenerated, -when you add or change any localized message. In order to generate i18n_resources.go, -you need to install go-bindata first: +As a contributor to wskdeploy, the file *i18n_resources.go* needs to regenerated, +when you add or change any localized message. + +### Install go-bindata +In order to generate i18n_resources.go, you need to install go-bindata first: ``` $ go get -u github.com/jteeuwen/go-bindata/... ``` +### Generate i18n_resources.go Then, go the HOME directory of wskdeploy and run the following command: ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
