From 8862255efd6bdef2a6919e4e90c49741245a5302 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Thu, 6 Mar 2014 22:35:34 +0100 Subject: [PATCH 1/4] Adds basic note about I18N assumption --- archetypes/struts2-archetype-angularjs/README.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/archetypes/struts2-archetype-angularjs/README.txt b/archetypes/struts2-archetype-angularjs/README.txt index 8e2486c6dc..e0f7740c6e 100644 --- a/archetypes/struts2-archetype-angularjs/README.txt +++ b/archetypes/struts2-archetype-angularjs/README.txt @@ -52,3 +52,9 @@ move resource files into a package structure. - to start it with jetty6 execute mvn jetty:run +I18N: +===== +Please note that this project was created with assumption it will be launched in environment +where default locale is set to English. Thus means the default messages defined in package.properties +are in English. If your default locale is different (on server), renames package.properties file +to package_en.properties and create new package.properties with proper labels for your environment. From b7d992cff2018d02588bbc7b3e838660f2e18829 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 7 Mar 2014 06:56:42 +0100 Subject: [PATCH 2/4] Updates I18N note after @sbenitez review --- archetypes/struts2-archetype-angularjs/README.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/archetypes/struts2-archetype-angularjs/README.txt b/archetypes/struts2-archetype-angularjs/README.txt index e0f7740c6e..ace4c2db85 100644 --- a/archetypes/struts2-archetype-angularjs/README.txt +++ b/archetypes/struts2-archetype-angularjs/README.txt @@ -54,7 +54,8 @@ move resource files into a package structure. I18N: ===== -Please note that this project was created with assumption it will be launched in environment -where default locale is set to English. Thus means the default messages defined in package.properties -are in English. If your default locale is different (on server), renames package.properties file -to package_en.properties and create new package.properties with proper labels for your environment. +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. From 1f24e2ac8feafcc5dfda55f95a6b9728cc3961a6 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 7 Mar 2014 06:59:31 +0100 Subject: [PATCH 3/4] Adds I18N note to all archetypes --- archetypes/struts2-archetype-blank/README.txt | 7 +++++++ archetypes/struts2-archetype-convention/README.txt | 7 +++++++ archetypes/struts2-archetype-dbportlet/README.txt | 7 +++++++ archetypes/struts2-archetype-portlet/README.txt | 9 +++++++-- archetypes/struts2-archetype-starter/README.txt | 8 ++++++++ 5 files changed, 36 insertions(+), 2 deletions(-) diff --git a/archetypes/struts2-archetype-blank/README.txt b/archetypes/struts2-archetype-blank/README.txt index 4db8ffd0ca..a9998a076e 100644 --- a/archetypes/struts2-archetype-blank/README.txt +++ b/archetypes/struts2-archetype-blank/README.txt @@ -52,3 +52,10 @@ move resource files into a package structure. - to start it with jetty6 execute mvn jetty:run +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/archetypes/struts2-archetype-convention/README.txt b/archetypes/struts2-archetype-convention/README.txt index 18a369559f..ced13263e3 100644 --- a/archetypes/struts2-archetype-convention/README.txt +++ b/archetypes/struts2-archetype-convention/README.txt @@ -50,3 +50,10 @@ move resource files into a package structure. - to start it with jetty6 execute mvn jetty:run +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/archetypes/struts2-archetype-dbportlet/README.txt b/archetypes/struts2-archetype-dbportlet/README.txt index 9a557a4b1b..71cf37a960 100644 --- a/archetypes/struts2-archetype-dbportlet/README.txt +++ b/archetypes/struts2-archetype-dbportlet/README.txt @@ -45,3 +45,10 @@ For more details about the Struts2 archetypes, please take a look at our Wiki pa - to start it with jetty execute as a servlet mvn jetty:run +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/archetypes/struts2-archetype-portlet/README.txt b/archetypes/struts2-archetype-portlet/README.txt index af686d8bff..7603868ab7 100644 --- a/archetypes/struts2-archetype-portlet/README.txt +++ b/archetypes/struts2-archetype-portlet/README.txt @@ -43,5 +43,10 @@ For more details about the Struts2 archetypes, please take a look at our Wiki pa -> https://cwiki.apache.org/confluence/display/WW/Struts+2+Maven+Archetypes - - +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/archetypes/struts2-archetype-starter/README.txt b/archetypes/struts2-archetype-starter/README.txt index f0bcc88810..bc33fb4800 100644 --- a/archetypes/struts2-archetype-starter/README.txt +++ b/archetypes/struts2-archetype-starter/README.txt @@ -56,3 +56,11 @@ COMMON TASKS - to start it with jetty6 execute mvn jetty:run + +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. From dfaaba7b2bb8df67173471e1a139d3a37016d575 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 7 Mar 2014 07:02:34 +0100 Subject: [PATCH 4/4] Adds I18N note to all example apps --- apps/blank/README.txt | 8 +++++++- apps/jboss-blank/README.txt | 8 +++++++- apps/mailreader/README.txt | 9 +++++++-- apps/portlet/README.txt | 9 +++++++-- apps/rest-showcase/README.txt | 15 +++++++++++++++ apps/showcase/README.txt | 8 +++++++- 6 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 apps/rest-showcase/README.txt diff --git a/apps/blank/README.txt b/apps/blank/README.txt index 6608909d55..12dd71be71 100644 --- a/apps/blank/README.txt +++ b/apps/blank/README.txt @@ -7,4 +7,10 @@ For more on getting started with Struts, see * http://cwiki.apache.org/WW/home.html ----------------------------------------------------------------------------- \ No newline at end of file +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/apps/jboss-blank/README.txt b/apps/jboss-blank/README.txt index e1fec2cbc2..b05df6ccb7 100644 --- a/apps/jboss-blank/README.txt +++ b/apps/jboss-blank/README.txt @@ -7,4 +7,10 @@ For more on getting started with Struts, see * http://cwiki.apache.org/WW/home.html ----------------------------------------------------------------------------- \ No newline at end of file +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/apps/mailreader/README.txt b/apps/mailreader/README.txt index 8dfe2deff2..1ce884ba1e 100644 --- a/apps/mailreader/README.txt +++ b/apps/mailreader/README.txt @@ -14,5 +14,10 @@ For more about the MailReader applicaton genneraly, visit Struts University. * http://www.StrutsUniversity.org/ - ----------------------------------------------------------------------------- \ No newline at end of file +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/apps/portlet/README.txt b/apps/portlet/README.txt index e6d424d000..ce8a42598b 100644 --- a/apps/portlet/README.txt +++ b/apps/portlet/README.txt @@ -13,5 +13,10 @@ WAR is not ready-to-run. Extract the portlet WAR, and then copy the contents of apps/portlet/src/main/etc// into the WAR's WEB-INF directory. - ----------------------------------------------------------------------------- \ No newline at end of file +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/apps/rest-showcase/README.txt b/apps/rest-showcase/README.txt new file mode 100644 index 0000000000..13f133be8c --- /dev/null +++ b/apps/rest-showcase/README.txt @@ -0,0 +1,15 @@ +README.txt - Rest Showcase Webapp + +Rest Showcase is a simple example of REST app build with the REST plugin. + +For more on getting started with Struts, see + +* http://cwiki.apache.org/WW/home.html + +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale. diff --git a/apps/showcase/README.txt b/apps/showcase/README.txt index e48384f2e3..8e6cbb03c2 100644 --- a/apps/showcase/README.txt +++ b/apps/showcase/README.txt @@ -7,4 +7,10 @@ For more on getting started with Struts, see * http://cwiki.apache.org/WW/home.html ----------------------------------------------------------------------------- \ No newline at end of file +I18N: +===== +Please note that this project was created with the assumption that it will be run +in an environment where the default locale is set to English. This means that +the default messages defined in package.properties are in English. If the default +locale for your server is different, then rename package.properties to package_en.properties +and create a new package.properties with proper values for your default locale.