set locale(value) {
    const locale = this.#correctLocale(value);
    if (value && locale !== this.state.localeName) {
      this.setLocale(locale);
    }
  }
/**
   * Set the locale for a component
   * @param {string} value The locale string value
   */
Set the locale for a component
@param {string} value The locale string value
Set the locale for a component @param { string } value The locale string value
set locale(value) {
    const locale = this.#correctLocale(value);
    if (value && locale !== this.state.localeName) {
      this.setLocale(locale);
    }
  }
set locale ( value ) { const locale = this . #correctLocale ( value ) ; if ( value && locale !== this . state . localeName ) { this . setLocale ( locale ) ; } }
Set the locale for a component
 @param {string} value The locale string value
Set the locale for a component @param { string } value The locale string value