-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:fixedIssue was fixed in current or prior release.Issue was fixed in current or prior release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.
Description
Steps to reproduce:
- Create a new React-based web part using SPFx 1.12.
- Add
nl-nl.js
to apply localization. - Run
gulp serve --locale=nl-nl
- Add web part with localized labels to a page - labels still use the default
en-us
locale.
I created a sample repo here. I have identical code in spfx11
(1.11) and spfx12
(1.12) folders. When I run gulp serve --locale=nl-nl
in spfx12
, it doesn't display labels in nl
locale.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 33394188-10be-0875-025d-9ffff6618df9
- Version Independent ID: ca9875f8-4f6a-21d3-8483-66ced7c2d55c
- Content: Localize SharePoint Framework client-side web parts
- Content Source: docs/spfx/web-parts/guidance/localize-web-parts.md
- Product: sharepoint
- Technology: sharepoint-framework
- GitHub Login: @VesaJuvonen
- Microsoft Alias: vesaj
MortenGuldbaek
Metadata
Metadata
Assignees
Labels
area:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)status:fixedIssue was fixed in current or prior release.Issue was fixed in current or prior release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)Currently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.