---
title: "init(locale:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsfontcollection/init(locale:)"
---

# init(locale:)

Returns a collection of fonts matching the given locale.

## Declaration

```swift
init?(locale: Locale)
```

## Parameters

- `locale`: The locale to match.

## Return Value

Return Value A collection of fonts matching the given locale.

## See Also

### Creating Font Collections

- [init(descriptors:)](appkit/nsfontcollection/init(descriptors:).md)
- [init(name:)](appkit/nsfontcollection/init(name:).md)
- [init(name:visibility:)](appkit/nsfontcollection/init(name:visibility:).md)
- [withAllAvailableDescriptors](appkit/nsfontcollection/withallavailabledescriptors.md)
