SP.RegionalSettings.localeId property (sp.js)

Gets or sets the locale ID in use on the server.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.RegionalSettings.get_localeId ()

Return value

An unsigned 32-bit integer that specifies the locale ID.

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/RegionalSettings/localeId

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/RegionalSettings/localeId

GET syntax

GET http://<sitecollection>/<site>/_api/web/RegionalSettings/localeId