- 최신
- 최다 투표
- 가장 많은 댓글
The nationality of the user is best stored in a custom string attribute of the user pool. Any lambda processing some trigger can then lookup the the value for the user in question.
Easiest would be to let an external email system do the localization. Usually a system like that will have mail-merge features and localized Content Management System. Lambda triggers can be used to do the right API calls on you system.
The custom message triggers is a way to go if you want a lighter weight solution. In these methods you could lookup the nationality and return a email body in the right language. Be aware though that emails have a nasty way of specifiying content and styling. The customer messages are maxed at 20,000 UTF-8 characters. This seems a lot but it is reached sooner than you think when a lot of styling is used for various email client / phone sizes.
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전