Hi everybody,
is there any documentation about i18n in Magnolia5?
I see this one:
http://documentation.magnolia-cms.com/display/DOCS/Language
..but it doesn't cover the "java" part.
E.g.: I am in a Java model class and I need to send an email. I need the i18n
translation of the mail subject, since each user of my mailing list need to
receive /by requirement/ a localized version of it.
String mailSubject = i18n.getMessage("mail.subject", userLocale);
sendMail(mail, ..., mailSubject);
I am missing the "i18n" part, since MessagesWrapper is deprecated now..
Many thanks
Matteo
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=363af7f5-9b05-4139-a37d-24077578e514
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------