# format_composite

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-core/function-format_composite/

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

```rust
fn format_composite(value: &str, arguments: &[FormatArgument], culture: &crate::Culture) -> Result<String, crate::TranslationError>
```

Composite formatting with positional arguments, alignment and escaped braces.
Alignment counts UTF-16 code units to preserve the source format contract.

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

## Availability

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