# SiLocaleStore Type documentation

## TypeScript declaration

### [SiLocaleStore](<https://github.com/siemens/element/blob/main/projects/element-ng/localization/si-locale-store.ts#L7-L10>)

**Kind:** class

```
import { SiLocaleStore } from '@siemens/element-ng/localization';
```

```
undecorated_class SiLocaleStore
```

#### Constructor

##### constructor

[Source for constructor](<https://github.com/siemens/element/blob/main/projects/element-ng/localization/si-locale-store.ts#L7-L10>)

```
constructor(): SiLocaleStore
```

**Returns:** [SiLocaleStore](<index.html#t:SiLocaleStore>)

#### Accessors

| Name | Type | Description |
| --- | --- | --- |
| [locale](<https://github.com/siemens/element/blob/main/projects/element-ng/localization/si-locale-store.ts#L8-L8>) (readonly) | `string \| undefined` |  |

#### Methods

##### saveLocale

[Source for saveLocale](<https://github.com/siemens/element/blob/main/projects/element-ng/localization/si-locale-store.ts#L9-L9>)

```
saveLocale(locale: string): Observable<boolean>
```

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [locale](<https://github.com/siemens/element/blob/main/projects/element-ng/localization/si-locale-store.ts#L9-L9>) | `string` |  |  |

**Returns:** [Observable](<https://rxjs.dev/api/index/class/Observable>)`<`[boolean](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean>)`>`
