Bug 729961
| Summary: | add the pt and zh locales to coregui | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Heiko W. Rupp <hrupp> |
| Component: | Build System | Assignee: | Ian Springer <ian.springer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.1 | CC: | ccrouch, hrupp, ian.springer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-07 19:27:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 729848, 730796 | ||
|
Description
Heiko W. Rupp
2011-08-11 12:05:35 UTC
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 changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |