[JIRA] (URLTRANS-7) Use I18nAuthoringSupport

15 views
Skip to first unread message

JIRA (on behalf of Björn Eschle)

unread,
Aug 10, 2022, 7:10:02 AM8/10/22
to dev-...@magnolia-cms.com
Björn Eschle created an issue
 
Urltranslation / Improvement URLTRANS-7
Use I18nAuthoringSupport
Issue Type: Improvement Improvement
Assignee: Richard Gange
Created: 10/Aug/22 1:06 PM
Priority: Critical Critical
Reporter: Björn Eschle
  • Use I18nAuthoringSupport.deriveLocalisedPropertyName instead of building the localized property name itself in the URLTranslator:

 

propertyName + "_" + locale.toString();
  • Use i18nContentSupport.getLocale instead of MgnlContext.getAggregationState().getLocale()
  • Make URLTranslator non static
    • Has to be done anyway to inject I18nAuthoringSupport
    • Possibility to bind custom implementation, which can be used to implement LiveCopy compatibility (fallbackLocale is always masterLocale)

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

JIRA (on behalf of Richard Gange)

unread,
Aug 15, 2022, 2:55:12 AM8/15/22
to dev-...@magnolia-cms.com
Richard Gange updated an issue
Change By: Richard Gange
T-Shirt Size: Small
Reply all
Reply to author
Forward
0 new messages