# LocalizedFormat

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-core/trait-localizedformat/

**trait** · [`ferroui-protranslate-core`](/docs/0.5.0/api/ferroui-protranslate-core/) · v0.5.0

```rust
trait LocalizedFormat
```

Extension point for application values (including dates, money, and domain
types). It preserves typed formatting without reflection or string coercion.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/formatting.rs#L9)

## Members

- [`format`](#function-format)

<a id="function-format"></a>

### format

```rust
fn format(self: &Self, format: &str, culture: &Culture) -> Result<String, TranslationError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/formatting.rs#L10)

## Trait implementations

- [`LocalizedFormat`](/docs/0.5.0/api/ferroui-protranslate-core/trait-localizedformat/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
