Skip to content

Either a bug in SPFx 1.12 or documentation needs to be updated #6837

@s-KaiNet

Description

@s-KaiNet

Steps to reproduce:

  1. Create a new React-based web part using SPFx 1.12.
  2. Add nl-nl.js to apply localization.
  3. Run gulp serve --locale=nl-nl
  4. 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.

Metadata

Metadata

Labels

area:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:spfxCategory: SharePoint Framework (not extensions related)status:fixedIssue was fixed in current or prior release.status:trackedCurrently tracked with Microsoft’s internal issue tracking system. DO NOT ADD/REMOVE (MSFT managed)type:bug-confirmedConfirmed bug, not working as designed / expected.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions