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. --> <gwt.locale>en,de,ja,pt,zh</gwt.locale> 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. --> <gwt.locale>default</gwt.locale>
documenting verification steps: http://localhost:7080/coregui/CoreGUI.html?locale=de http://localhost:7080/coregui/CoreGUI.html?locale=ja
verified build 8/17 by visiting these URLs and seeing the correct language: http://localhost:7080/coregui/CoreGUI.html?locale=de http://localhost:7080/coregui/CoreGUI.html?locale=ja
Shouldn't those URLs instead be: http://localhost:7080/coregui/CoreGUI.html?locale=pt http://localhost:7080/coregui/CoreGUI.html?locale=zh
All of comment 3 and comment 4 !
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE