Skip to content

Commit 1ebed4a

Browse files
authored
Corrected spelling of the locales in the manifest (SharePoint#5257)
1 parent b6a7a6e commit 1ebed4a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/spfx/web-parts/guidance/localize-web-parts.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ Properties that support localization are of type **ILocalizedString**. Each loca
231231
// ...
232232
"preconfiguredEntries": [{
233233
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
234-
"group": { "default": "Other", "nl-nl": "Anders" },
235-
"title": { "default": "Greeting", "nl-nl": "Begroeting" },
236-
"description": { "default": "Greets the user", "nl-nl": "Begroet de gebruiker" },
234+
"group": { "default": "Other", "nl-NL": "Anders" },
235+
"title": { "default": "Greeting", "nl-NL": "Begroeting" },
236+
"description": { "default": "Greets the user", "nl-NL": "Begroet de gebruiker" },
237237
"officeFabricIconFontName": "Page",
238238
"properties": {
239239
"greeting": "Hello"
@@ -242,6 +242,9 @@ Properties that support localization are of type **ILocalizedString**. Each loca
242242
}
243243
```
244244
245+
> [!IMPORTANT]
246+
> You should pay attention to the correct spelling of the locales. The first part needs to be in lowercase letters while the last part has to be written in uppercase ("nl-NL").
247+
245248
1. Run the following command to verify that the project is working:
246249
247250
```sh
@@ -596,9 +599,9 @@ Originally, the Greeting web part had the **greeting** property defined where th
596599
597600
"preconfiguredEntries": [{
598601
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
599-
"group": { "default": "Other", "nl-nl": "Anders" },
600-
"title": { "default": "Greeting", "nl-nl": "Begroeting" },
601-
"description": { "default": "Greets the user", "nl-nl": "Begroet de gebruiker" },
602+
"group": { "default": "Other", "nl-NL": "Anders" },
603+
"title": { "default": "Greeting", "nl-NL": "Begroeting" },
604+
"description": { "default": "Greets the user", "nl-NL": "Begroet de gebruiker" },
602605
"officeFabricIconFontName": "Page",
603606
"properties": {
604607
}

0 commit comments

Comments
 (0)