Details
-
Improvement
-
Resolution: Won't Do
-
Neutral
-
None
-
6.2.3
-
None
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 MURLTRANS-21.
Current way:
MgnlContext.getAggregationState().getLocale()
Proposed way:
i18nContentSupport.getLocale()
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
MURLTRANS-21 Use AbstractI18nContentSupport getNextLocale to fallback to a similar locale/language
-
- Closed
-
-
MURLTRANS-28 Transformer classes should get requested locale from I18nContentSupport
-
- Closed
-