
## request_dictionary(language) {#str}

Notifies application that hyphenation dictionary for the specified language wasn't found and may need to be registered.


Implementation should find a dictionary and register it using[Hyphenation.register_dictionary()](../../hyphenation/register_dictionary/#str_bytesio) methods.


If dictionary is unavailable for the specified language implementation can opt out of further calls for the same language
using[Hyphenation.register_dictionary()](../../hyphenation/register_dictionary/#str_str) with ``None`` value.



```python
def request_dictionary(self, language: str):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| language | str | A language name, e.g. "en-US". See .NET documentation for "culture name" and RFC 4646 for details. |

### Remarks

Exceptions thrown by this method will abort execution of page layout process.


### See Also

* module [aspose.words](../../)
* class [IHyphenationCallback](../)

