# CatalogFileOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-build/struct-catalogfileoptions/

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

```rust
struct CatalogFileOptions
```

Explicit format and culture overrides for one build-script catalog file.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L831)

## Members

- [`culture`](#struct_field-culture)
- [`format`](#struct_field-format)

<a id="struct_field-culture"></a>

### culture

```rust
culture: Option<String>
```

Overrides filename inference. An empty string selects the neutral catalog.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L833)

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

### format

```rust
format: Option<ferroui_protranslate_formats::TranslationFileFormat>
```

Overrides extension detection for catalogs with application-specific names.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Build/compiler.rs#L835)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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