Multilingual in SPFx webpart in SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-2387649%22%20slang%3D%22en-US%22%3EMultilingual%20in%20SPFx%20webpart%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2387649%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDear%20Team%2C%3C%2FP%3E%3CP%3EI%20have%20created%20SPFx%20webpart%20and%20deployed%20it%20on%20SharePoint%20online%2C%20After%20deployment%26nbsp%3B%20we%20want%20to%20update%20current%20user%20culture%20using%20pnp%20but%20showing%20error%20%22%3CSTRONG%3Epnp%20is%20not%20defined%3C%2FSTRONG%3E%22%20but%20when%20we%20not%20deploy%20SPFx%20webpart%20current%20user%20culture%20update%20successfully.%3C%2FP%3E%3CP%3EPlease%20help%26nbsp%3B%20on%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EAnsar%20Ahmad%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

 

Dear Team,

I have created SPFx webpart and deployed it on SharePoint online, After deployment  we want to update current user culture using pnp but showing error "pnp is not defined" but when we not deploy SPFx webpart current user culture update successfully.

Please help  on this.

 

Regards

Ansar Ahmad

0 Replies