Bug 1083348
| Summary: | Locales in entity config should be list both Zanata and Publican versions | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Matthew Casperson <mcaspers> |
| Component: | CCMS-Core | Assignee: | Nobody <nobody> |
| Status: | NEW --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.4 | CC: | cbredesen |
| 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: | Type: | Bug | |
| 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: | 1072685 | ||
|
Description
Matthew Casperson
2014-04-02 03:26:51 UTC
With this we need to take into account that multiple different translation/build systems might have different mappings. Actually just noticed, this information shouldn't be captured in Entities.properties as that is exclusively for mapping entity id's. It should either go in it's own file or application.properties. The core of this work has been done in 1.9-SNAPSHOT build 201408171956. The missing component is the mappings for multiple different translation/build systems.
There is now a Locale table that has a "value", "translationValue" and "buildValue". All references to the old locale strings are migrated to use the new table when the 1.9 is first started (it's part of the liquibase update mechanism).
The locales are still returned as part of the server settings, but they also have the following new REST endpoints:
GET /1/locale/get/json/{id}
POST /1/locale/update/json/{id}
POST /1/locale/create/json/{id}
GET /1/locales/get/json
POST /1/locales/update/json
POST /1/locales/create/json
|