[
http://jira.magnolia.info/browse/MAGNOLIA-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086#action_16086
]
Gregory Joseph commented on MAGNOLIA-2097:
------------------------------------------
absolutely - that is what i tried to point out - that in some places, the
distinction between content locale and admin locale wasn't clear yet. As you
mentioned in the first comment: maybe a LocaleResolver would help in sharing
components like MM and FreemarkerHelper, which can both be used in both
contexts.
> i18n: MgnlContext.setLocale() is never used while FreemarkerHelper depends on
> it
> --------------------------------------------------------------------------------
>
> Key: MAGNOLIA-2097
> URL: http://jira.magnolia.info/browse/MAGNOLIA-2097
> Project: Magnolia
> Issue Type: Bug
> Affects Versions: 3.5.4
> Reporter: Gregory Joseph
> Assignee: Boris Kraft
> Fix For: 3.6
>
>
> In the DefaultI18nContentSupport, we get/set the locale on the
> AggregationState. FreemarkerHelper determines the Locale based on the
> MgnlContext.getLocale(). As a consequence, emails sent with freemarker when
> no user is logged in are always sent with the anonymous' user's locale
> instead of whatever the current locale is, as determined by the
> I18nContentSupport.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------