You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/custom-email.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ manager: celestedg
9
9
ms.service: active-directory
10
10
ms.workload: identity
11
11
ms.topic: reference
12
-
ms.date: 12/18/2019
12
+
ms.date: 02/05/2020
13
13
ms.author: marsma
14
14
ms.subservice: B2C
15
15
---
@@ -387,6 +387,36 @@ For more information, see [Self-asserted technical profile](restful-technical-pr
387
387
</ClaimsProvider>
388
388
```
389
389
390
+
## [Optional] Localize your email
391
+
392
+
To localize the email, you must send localized strings to SendGrid, or your email provider. For example to localize the email subject, body, your code message, or signature of the email. To do so, you can use the [GetLocalizedStringsTransformation](string-transformations.md) claims transformation to copy localized strings into claim types. In the `GenerateSendGridRequestBody` claims transformation, which generates the JSON payload, uses input claims that contain the localized strings.
393
+
394
+
1. In your policy define the following string claims: subject, message, codeIntro and signature.
395
+
1. Define a [GetLocalizedStringsTransformation](string-transformations.md) claims transformation to substitute localized string values into the claims from step 1.
396
+
1. Change the `GenerateSendGridRequestBody` claims transformation to use input claims with the following XML snippet.
397
+
1. Update your SendGrind template to use dynamic parameters in place of all the strings which will be localized by Azure AD B2C.
0 commit comments