# placeholders

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-studio/function-placeholders/

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

```rust
fn placeholders(text: &str, format: ferroui_protranslate_formats::TranslationFileFormat) -> Result<Vec<Placeholder>, crate::StudioError>
```

Recognize source placeholders without evaluating them. Byte ranges support
insertion/highlighting; escaped composite braces and printf %% are literals.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Studio/format_helper.rs#L37)

## Availability

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