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
@@ -222,11 +230,36 @@ The following example shows how to localize the UserMessageIfClaimsPrincipalAlre
222
230
223
231
The `GetLocalizedStringsTransformationClaimType` value is used to copy localized strings into claims. For more information, see [GetLocalizedStringsTransformation claims transformation](string-transformations.md#getlocalizedstringstransformation)
224
232
233
+
-**ElementType** set to `GetLocalizedStringsTransformationClaimType`.
The `Predicate` value is used to localize one of the [Predicate](predicates.md) error messages, as specified in the StringId.
258
+
The Predicate value is used to localize one of the [Predicate](predicates.md) error messages.
229
259
260
+
-**ElementType** set to `Predicate`.
261
+
-**ElementId** is the name of the predicate.
262
+
-**StringId** the attribute of the predicate to be localized.
230
263
231
264
```xml
232
265
<Predicates>
@@ -249,7 +282,7 @@ The `Predicate` value is used to localize one of the [Predicate](predicates.md)
249
282
</Predicates>
250
283
```
251
284
252
-
The following example shows a localized a predicate help text.
285
+
The following example shows how to localize the predicate help text.
253
286
254
287
```xml
255
288
<LocalizedStringElementType="Predicate"ElementId="LengthRange"StringId="HelpText">The password must be between 6 and 64 characters.</LocalizedString>
@@ -259,7 +292,11 @@ The following example shows a localized a predicate help text.
259
292
260
293
### InputValidation
261
294
262
-
The `InputValidation` value is used to localize one of the [PredicateValidation](predicates.md) group error messages as specified in the StringId.
295
+
The `InputValidation` value is used to localize one of the [PredicateValidation](predicates.md) group error messages.
296
+
297
+
-**ElementType** set to `InputValidation`.
298
+
-**ElementId** The ID of the PredicateValidation element.
299
+
-**StringId** The ID of the PredicateGroup element. The predicate group must be a child of the predicate validation element as defined in the ElementId.
263
300
264
301
```xml
265
302
<PredicateValidations>
@@ -284,15 +321,20 @@ The `InputValidation` value is used to localize one of the [PredicateValidation]
284
321
</PredicateValidations>
285
322
```
286
323
287
-
The following example shows a localized a predicate validation group help text.
324
+
The following example shows how to localize the predicate validation group help text.
288
325
289
326
```XML
290
-
<LocalizedStringElementType="InputValidation"ElementId="StrongPassword"StringId="CharacterClasses">The password must have at least 3 of the following:</LocalizedString>
327
+
<LocalizedStringElementType="InputValidation"ElementId="CustomPassword"StringId="CharacterClasses">The password must have at least 3 of the following:</LocalizedString>
291
328
```
292
329
293
330
### UxElement
294
331
295
-
The UxElement value is used to localize one of the user interface elements as specified in the StringId. The following example shows how to localize the continue and cancel buttons.
332
+
The UxElement value is used to localize one of the user interface elements.
333
+
334
+
-**ElementType** set to `UxElement`.
335
+
-**StringId** the ID of the user interface element to be localized.
336
+
337
+
The following example shows how to localize the continue and cancel buttons.
296
338
297
339
```XML
298
340
<LocalizedStringElementType="UxElement"StringId="button_continue">Create new account</LocalizedString>
0 commit comments