Red Hat Bugzilla – Bug 729961
add the pt and zh locales to coregui
Last modified: 2013-08-05 20:40:27 EDT
Current 4.1.0 beta build is missing pt and zh translations, as they seem to not be enabled in settings.xml
We should find out how those builds can automatically include all locales without the need to manually tune settings.xml - perhaps by specifying no locales at all .
If this fails, we need a very simple process + readme on how to add new locales.
I've added the pt and zh locales with [master 3c15c6f]. The process is actually very simple - just add the locales to the gwt.locale property in coregui/pom.xml. Here's what that property looks like after my update:
<!-- Comma-separated list of the locales that should be included during GWT compilation. The specified locales
should each have two corresponding message bundle properties files under
src/main/resources/org/rhq/enterprise/gui/coregui/client/. For example, the "ja" locale has
Messages_ja.properties and MessageConstants_ja.properties. -->
Note, if you don't want building coregui on your local machine to take 15 minutes, make sure to add something like the following in the properties section of an active profile in your ~/.m2/settings.xml:
<!-- Only compile the default locale. -->
documenting verification steps:
verified build 8/17 by visiting these URLs and seeing the correct language:
Shouldn't those URLs instead be:
All of comment 3 and comment 4 !
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE