---
title: "status(from:to:)"
framework: translation
role: symbol
role_heading: Instance Method
path: "translation/languageavailability/status(from:to:)"
---

# status(from:to:)

Checks for the installation of a specific language pairing and whether it’s ready for translation.

## Declaration

```swift
func status(from source: Locale.Language, to target: Locale.Language?) async -> LanguageAvailability.Status
```

## Parameters

- `source`: The source language of the content.
- `target`: The target language you want to translate content into. When set to nil, the system picks an appropriate target based on the person’s preferred languages and returns the status for those languages.

## Return Value

Return Value The availability status for a language pairing.

## Discussion

Discussion Use this function to check whether the system has installed the required language assets and the languages are ready to use for translation. note: The framework doesn’t support translating from and to the same language. For example, you can’t translate from English (US) to English (UK).

## See Also

### Checking language availability

- [status(for:to:)](translation/languageavailability/status(for:to:).md)
- [LanguageAvailability.Status](translation/languageavailability/status.md)
