src/mcpHelpers.js
async function setPreferredMcpRegionalSettings(accessToken, languageTag) {
    let regionalSettings = getValidLanguageTagOrThrow(languageTag);

    return mcpCustomizr.putSettings(accessToken, {
        regionalSettings: regionalSettings,
    });
}
async function setPreferredMcpRegionalSettings(accessToken, languageTag) {
    let regionalSettings = getValidLanguageTagOrThrow(languageTag);

    return mcpCustomizr.putSettings(accessToken, {
        regionalSettings: regionalSettings,
    });
}
async function setPreferredMcpRegionalSettings ( accessToken , languageTag ) { let regionalSettings = getValidLanguageTagOrThrow ( languageTag ) ; return mcpCustomizr . putSettings ( accessToken , { regionalSettings : regionalSettings , } ) ; }
Update the preferred regional format in Customizr
@param {string} accessToken - Access token to use to call Customizr
@param {string} languageTag - RFC 4656 compliant language code (eg. en, en-US)
@return {Promise<void>}
Update the preferred regional format in Customizr