[
http://jira.magnolia.info/browse/MAGNOLIA-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070#action_16070
]
Gregory Joseph commented on MAGNOLIA-2097:
------------------------------------------
Another related issue - is that MessagesManager uses the system default locale
- so if this has to be used in "public" code (i.e when publicuserregistration
sends emails), it uses the "wrong" default locale (the system one instead of
the content one or the anonymous')
> 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/
----------------------------------------------------------------