# `mix localize.translate.gen.translate_function`
[🔗](https://github.com/elixir-localize/localize_translate/blob/v0.1.0/lib/localize/translate/gen_function_migration.ex#L2)

Generates a migration to add a database function `translate_field` that uses the
`Localize.Translate` structured translation schema to resolve a translation for a field.

# `format_string!`

```elixir
@spec format_string!(String.t()) :: iodata()
```

# `migrations_path`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
