Skip to content

Commit 21a010c

Browse files
authored
Merge pull request #258525 from nithinsas/patch-3
Update localization-string-ids.md
2 parents 54b3366 + a44d68d commit 21a010c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

articles/active-directory-b2c/localization-string-ids.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
88
ms.service: active-directory
99

1010
ms.topic: reference
11-
ms.date: 04/19/2022
11+
ms.date: 11/14/2023
1212
ms.author: kengaderdus
1313
ms.subservice: B2C
1414
---
@@ -615,7 +615,8 @@ The following IDs are used for claims transformations error messages:
615615
| `DateTimeGreaterThan` |[AssertDateTimeIsGreaterThan](date-transformations.md#assertdatetimeisgreaterthan) | Claim value comparison failed: The provided left operand is greater than the right operand.|
616616
| `UserMessageIfClaimsTransformationStringsAreNotEqual` |[AssertStringClaimsAreEqual](string-transformations.md#assertstringclaimsareequal) | Claim value comparison failed using StringComparison "OrdinalIgnoreCase".|
617617

618-
### Claims transformations example
618+
### Claims transformations example 1:
619+
This example shows localized messages for local account signup.
619620

620621
```xml
621622
<LocalizedResources Id="api.localaccountsignup.en">
@@ -627,6 +628,17 @@ The following IDs are used for claims transformations error messages:
627628
</LocalizedResources>
628629
```
629630

631+
### Claims transformations example 2:
632+
This example shows localized messages for local account password reset.
633+
634+
```xml
635+
<LocalizedResources Id="api.localaccountpasswordreset.en">
636+
<LocalizedStrings>
637+
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfClaimsTransformationBooleanValueIsNotEqual">You cannot use the old password</LocalizedString>
638+
</LocalizedStrings>
639+
</LocalizedResources>
640+
```
641+
630642
## Next steps
631643

632644
See the following articles for localization examples:

0 commit comments

Comments
 (0)