---
title: "defaultOrthography(forLanguage:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/nsorthography/defaultorthography(forlanguage:)"
---

# defaultOrthography(forLanguage:)

Creates and returns an orthography object with the default language map for the specified language.

## Declaration

```swift
class func defaultOrthography(forLanguage language: String) -> Self
```

## Parameters

- `language`: A BCP-47 tag identifying the language.

## Discussion

Discussion This method automatically determines the script for the specified language. For example, the default orthography for the Hindi language has a language map with a single key, "Deva" (the ISO 15924 script code for Devanagari), that has a corresponding value of an array containing the element "hi" (the BCP-47 identifier for Hindi).

## See Also

### Creating Orthography Objects

- [init(dominantScript:languageMap:)](foundation/nsorthography/init(dominantscript:languagemap:).md)
