How can I send localized "Account created" email templates?
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- When User accounts are created, languages other than English are available to choose from (depending on available locale settings)
- When a User account is created, the new User receives an Account created email
- How do I localize the template of this email so that the User receives the email in the language they selected?
Resolution
- Start Liferay, log in as Admin
- Go to Control Panel > Configuration > Instance Settings
- On the Configuration tab, scroll down to Email notifications
- Switch to Account Created Notification tab
- Add your language templates to all fields (use the flags below/next to each field to switch to a different language)
- Save the settings
- Go to Control Panel > Users > Users and Organizations
- Create a new user
- Change the language from English to another one
- Fill out details and Save
Result: The email template is sent in the selected language.
Did this article resolve your issue ?