[MGNLUI-3764] I18n: I can reuse the keys between modules Created: 02/Feb/16 Updated: 03/May/16 Resolved: 16/Mar/16 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | dialogs |
| Affects Version/s: | None |
| Fix Version/s: | 5.4.6 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d 5.5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Epic Link: | Introduction of new i18n | ||||||||||||||||||||
| Sprint: | Kromeriz 35 | ||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||
| Description |
|
We decided to implement only minimal changes: https://wiki.magnolia-cms.com/display/DEV/Minimal+required+changes We currently generate these keys for templates: Open Questions:
Next: |
| Comments |
| Comment by Christopher Zimmermann [ 18/Feb/16 ] |
|
I think there should be key generators that allow for skipping a level of specification, in the interest of reducing duplication. |
| Comment by Christopher Zimmermann [ 24/Feb/16 ] |
|
how does <dialogPath> work? could you provide a few examples? Is it the full path separated with dots? |
| Comment by Roman Kovařík [ 24/Feb/16 ] |
|
Exactly, full path in JCR: moduleName/templates/components/someFolder/componentName: moduleName.templates.components.someFolder.componentName.label |