You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ho...@apache.org on 2017/10/26 21:09:50 UTC
[incubator-openwhisk-wskdeploy] branch master updated: update main
project README to link to the i18n README. (#629)
This is an automated email from the ASF dual-hosted git repository.
houshengbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git
The following commit(s) were added to refs/heads/master by this push:
new 0a56911 update main project README to link to the i18n README. (#629)
0a56911 is described below
commit 0a569116c9e5aeedfa0b1e6fe103888990eb3d70
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Thu Oct 26 16:09:45 2017 -0500
update main project README to link to the i18n README. (#629)
* update main project README to link to the i18n README.
* update main project README to link to the i18n README.
* update main project README to link to the i18n README.
---
README.md | 5 +++++
wski18n/README.md | 11 +++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
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:
```
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].