<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/AssetInventory/reserve(locale:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech14AssetInventoryC7reserve6localeSb10Foundation6LocaleV_tYaKFZ"
  },
  "title" : "reserve(locale:)"
}
-->

# reserve(locale:)

Add an asset locale to the app’s current reservations.

```
@discardableResult static func reserve(locale: Locale) async throws -> Bool
```

## Return Value

`false` if the locale was already reserved.

## Discussion

If an asset that supports the input locale exists, adds that asset’s locale to [`reservedLocales`](/documentation/Speech/AssetInventory/reservedLocales).

> Throws: An error if the number of locales would exceed ``doc://com.apple.speech/documentation/Speech/AssetInventory/maximumReservedLocales`` or if there is no asset that can support the locale.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)