Skip to content

Commit c4f5adb

Browse files
authored
Merge pull request MicrosoftDocs#4010 from marcoscheel/patch-1
Fix JSON for LocalSettings and show usage
2 parents 02c1ffb + af00b43 commit c4f5adb

File tree

1 file changed

+5
-5
lines changed
  • exchange/exchange-ps/exchange/policy-and-compliance

1 file changed

+5
-5
lines changed

exchange/exchange-ps/exchange/policy-and-compliance/Set-Label.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ You need to be assigned permissions in the Office 365 Security & Compliance Cent
4040

4141
### -------------------------- Example 1 --------------------------
4242
```
43-
Insert example commands for example 1.
43+
Set-Label -Identity General -LocaleSettings '{"localeKey":"DisplayName","Settings":[{"Key":"en-us","Value":"English display name"},{"Key":"de-de","Value":"Deutscher Anzeigename"},{"Key":"es-es","Value":"Nombre para mostrar en Español"}]}'
4444
```
4545

46-
Insert descriptive text for example 1.
46+
This example sets the localized label name for "General" in different languages (English, German, and Spanish).
4747

4848
## PARAMETERS
4949

@@ -152,11 +152,11 @@ Accept wildcard characters: False
152152
```
153153
154154
### -LocaleSettings
155-
The LocaleSettings parameter specifies one or more localized label name or label Tooltips in different languages. Regions include all region codes supported in Office Client applications. Valid values use the following syntax:
155+
The LocaleSettings parameter specifies one or more localized label name or label Tooltips in different languages. Regions include all region codes supported in Office Client applications. Valid values use the following syntax (JSON):
156156
157-
- Label display names: {"localeKey":"DisplayName","Settings":[{"Key":"en-us","Value":"English display name"},{"Key":"de-de",Value":"Deutscher Anzeigename"},{"Key":"es-es",Value":"Nombre para mostrar en español"}]}
157+
- Label display names: {"localeKey":"DisplayName","Settings":[{"Key":"en-us","Value":"English display name"},{"Key":"de-de","Value":"Deutscher Anzeigename"},{"Key":"es-es","Value":"Nombre para mostrar en Español"}]}
158158
159-
- Label Tooltips: {"localeKey":"Tooltip","Settings":[{"Key":"en-us","Value":"English Tooltip"},{"Key":"de-de",Value":"Deutscher Tooltip"},{"Key":"es-es",Value":"Tooltip Español"}]}
159+
- Label Tooltips: {"localeKey":"Tooltip","Settings":[{"Key":"en-us","Value":"English Tooltip"},{"Key":"de-de","Value":"Deutscher Tooltip"},{"Key":"es-es","Value":"Tooltip Español"}]}
160160
161161
```yaml
162162
Type: MultiValuedProperty

0 commit comments

Comments
 (0)