---
title: locale
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/listformatter/locale
---

# locale

The locale to use when formatting items in the list.

## Declaration

```swift
var locale: Locale! { get set }
```

## Discussion

Discussion The default value is autoupdatingCurrent. If you set this property to nil, the formatter resets to using autoupdatingCurrent.

## See Also

### Configuring Formatter Options

- [itemFormatter](foundation/listformatter/itemformatter.md)
