[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:
relation
is related to MURLTRANS-21 Use AbstractI18nContentSupport getNex... Closed
is related to MURLTRANS-28 Transformer classes should get reques... Closed
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 MURLTRANS-21.

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".

Generated at Mon Feb 12 11:08:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.