Gets the site's regional settings.
The retrieved regional settings corresponds to the regional settings that has been entered in the General Info section of your site's Dashboard.
The regional settings are used to determine how numbers, dates, and currencies are displayed on your site.
function regionalSettings(): Promise<string>;
import { createClient } from "@wix/sdk";
import { site } from "@wix/site";
import { site as wixSite } from "@wix/site-site";
const wixClient = createClient({
host: site.host(),
modules: { wixSite },
});
const regionalSettings = await wixClient.wixSite.regionalSettings(); // "en-us"
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.