---
Product: Aspose.Font
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/font/python/localizationresolution
---

# LocalizationResolution

## Overview

`LocalizationResolution` is a class in Aspose.Font FOSS for Python.

LocalizationResolution.to_dict() serializes the language‑resolution details, including exact‑match flag, requested languages, and fallback reason.

This class declares 1 method for LocalizationResolution objects in Python programs.
Available methods include: `to_dict`.
Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: `fallback_reason`, `is_exact_match`, `preference_chain`, `requested_languages`, `selected_label`, `selected_language`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `is_exact_match` | `bool` | Read | Gets the is exact match. |
| `requested_languages` | `tuple[str, ...]` | Read | Gets the requested languages. |
| `preference_chain` | `tuple[str, ...]` | Read | Gets the preference chain. |
| `selected_language` | `str \| None` | Read | Gets the selected language. |
| `selected_label` | `str \| None` | Read | Gets the selected label. |
| `fallback_reason` | `str` | Read | Gets the fallback reason. |

## Methods

| Signature | Description |
|-----------|-------------|
| `to_dict()` → `dict[str, object]` | Serializes the language‑resolution details, including exact‑match flag, requested languages, and fallback reason |

## See Also

- [Aspose.Font — Enterprise API Reference](https://reference.aspose.com/font/)