Forum Discussion

null null's avatar
null null
Iron Contributor
Aug 02, 2017

New-PnPTenantSite : LocaleId 2057 is not a supported locale.

Hi,

 

New-PnPTenantSite : LocaleId 2057 is not a supported locale.

 

i am getting while trying to create a site collection with UK English locale for dates and times .

 

1033 is US format.

 

could you please let me know how do i achive it.

 

thanks

  • paulpascha's avatar
    paulpascha
    Bronze Contributor

    When creating a site collection you can only specify a limited number of LCID's (corresponding to the available language packs for SharePoint). After the site collection has been created you can further finetune your regional settings using CSOM Web.RegionalSettings for example or via PowerShell as described in the following blog

    http://consulting.risualblogs.com/blog/2016/04/08/sharepoint-online-csom-update-region-settings/

     

    This MSDN article lists the LCID's supported when creating a site collection

    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splanguage.lcid.aspx

     

    Hope this helps

     

     

    • null null's avatar
      null null
      Iron Contributor

      I think this needs to be standardised. 

       

      If English is only chosen just because of the language and felt as if it will cater to English UK, its not about language. It impacts the date and time settings, it impacts the alerts, emails which wil get triggered. This sort of setting will mrun a riot in the environment where notification system is in place.

       

      I dont know, if it is a technical limitation or kept for future work, but i can't believe a very significant configuration has been left out.

    • null null's avatar
      null null
      Iron Contributor

      I think this needs to be standardised. 

       

      If English is only chosen just because of the language and felt as if it will cater to English UK, its not about language. It impacts the date and time settings, it impacts the alerts, emails which wil get triggered. This sort of setting will mrun a riot in the environment where notification system is in place.

       

      I dont know, if it is a technical limitation or kept for future work, but i can't believe a very significant configuration has been left out.

      • paulpascha's avatar
        paulpascha
        Bronze Contributor
        Just to clarify, the regional settings you are looking for are available so I don't see a technical limitation in that. The only thing is you cannot specify them right away when creating your site collection. After the site collection has been created you can go to site settings -> regional settings to make your required changes through the UI or you could automate this using PowerShell.

Resources