Skip to content

Commit 2eb3bd7

Browse files
committed
Adding the table of options
1 parent dd4b52f commit 2eb3bd7

File tree

1 file changed

+13
-26
lines changed

1 file changed

+13
-26
lines changed

articles/active-directory-b2c/localization.md

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,22 @@ The **LocalizedString** element contains the following attributes:
150150

151151
The ElementType reference to a claim type, a claim transformation, or a user interface element in the policy to be localized.
152152

153+
| Element to localize | ElementType | ElementId |StringId |
154+
| --------- | -------- | ----------- |----------- |
155+
| Identity provider name |`ClaimsProvider`| | The ID of the ClaimsExchange element|
156+
| Claim type attributes|`ClaimType`|Name of the claim type| The attribute of the claim to be localized. Possible values: `AdminHelpText`, `DisplayName`, `PatternHelpText`, and `UserHelpText`.|
157+
|Error message|`ErrorMessage`||The ID of the error message |
158+
|Copies localized strings into claims|`GetLocalizedStringsTra nsformationClaimType`||The name of the output claim|
159+
|Predicate user message|`Predicate`|The name of the predicate| The attribute of the predicate to be localized. Possible values: `HelpText`.|
160+
|Predicate group user message|`InputValidation`|The ID of the PredicateValidation element.|The ID of the PredicateGroup element. The predicate group must be a child of the predicate validation element as defined in the ElementId.|
161+
|User interface elements |`UxElement` | | The ID of the user interface element to be localized.|
162+
163+
## Examples
164+
153165
### ClaimsProvider
154166

155167
The ClaimsProvider value is used to localize claim provider name.
156168

157-
- **ElementType** set to `ClaimsProvider`
158-
- **StringId** is the Id of the ClaimsExchange element
159-
160169
```xml
161170
<OrchestrationStep Order="2" Type="ClaimsExchange">
162171
...
@@ -181,10 +190,6 @@ The following example shows how to localize the claim provider name.
181190

182191
The ClaimType value is used to localize one of the claim attributes.
183192

184-
- **ElementType** set to `ClaimType`.
185-
- **ElementId** is the name of the claim type.
186-
- **StringId** the attribute of the claim to be localized.
187-
188193
```xml
189194
<ClaimType Id="email">
190195
<DisplayName>Email Address</DisplayName>
@@ -206,9 +211,6 @@ The following example shows how to localize the DisplayName, UserHelpText, and P
206211

207212
The ErrorMessage value is used to localize one of the system error messages.
208213

209-
- **ElementType** set to `ErrorMessage`.
210-
- **StringId** the ID of the error message.
211-
212214
```xml
213215
<TechnicalProfile Id="AAD-UserWriteUsingAlternativeSecurityId">
214216
<Metadata>
@@ -230,8 +232,6 @@ The following example shows how to localize the UserMessageIfClaimsPrincipalAlre
230232

231233
The `GetLocalizedStringsTransformationClaimType` value is used to copy localized strings into claims. For more information, see [GetLocalizedStringsTransformation claims transformation](string-transformations.md#getlocalizedstringstransformation)
232234

233-
- **ElementType** set to `GetLocalizedStringsTransformationClaimType`.
234-
- **StringId** the name of the output claim.
235235

236236
```xml
237237
<ClaimsTransformation Id="GetLocalizedStringsForEmail" TransformationMethod="GetLocalizedStringsTransformation">
@@ -257,10 +257,6 @@ The following example shows how to localize the output claims of the GetLocaliz
257257

258258
The Predicate value is used to localize one of the [Predicate](predicates.md) error messages.
259259

260-
- **ElementType** set to `Predicate`.
261-
- **ElementId** is the name of the predicate.
262-
- **StringId** the attribute of the predicate to be localized.
263-
264260
```xml
265261
<Predicates>
266262
<Predicate Id="LengthRange" Method="IsLengthRange" HelpText="The password must be between 6 and 64 characters.">
@@ -294,10 +290,6 @@ The following example shows how to localize the predicate help text.
294290

295291
The `InputValidation` value is used to localize one of the [PredicateValidation](predicates.md) group error messages.
296292

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.
300-
301293
```xml
302294
<PredicateValidations>
303295
<PredicateValidation Id="CustomPassword">
@@ -329,12 +321,7 @@ The following example shows how to localize the predicate validation group help
329321

330322
### UxElement
331323

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.
324+
The UxElement value is used to localize one of the user interface elements. The following example shows how to localize the continue and cancel buttons.
338325

339326
```XML
340327
<LocalizedString ElementType="UxElement" StringId="button_continue">Create new account</LocalizedString>

0 commit comments

Comments
 (0)