[MURLTRANS-29] URLTransFilter should retrieve requested local through I18nContentSupport Created: 30/Aug/22 Updated: 26/Dec/23 Resolved: 26/Dec/23 |
|
| Status: | Closed |
| Project: | URL Translation |
| Component/s: | None |
| Affects Version/s: | 6.2.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Richard Gange |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| 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)
|
||||||||||||
| Description |
|
Currently the URLTrans filter retrieves the requested locale directly through the aggregation state object. Instead it should use I18nContentSupport#getLocale() so that custom implementations can be introduced for fallback mechanisms like the example mentioned in Current way: MgnlContext.getAggregationState().getLocale() Proposed way: i18nContentSupport.getLocale() |
| Comments |
| Comment by Richard Gange [ 26/Dec/23 ] |
|
Tried to implement this but it didn't work the same. Closing as "Won't do". |