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

> This task is deprecated. Not needed since 0.4.0: Localize.Translate.QueryBuilder no longer calls translate_field.

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.

This task is deprecated and will be removed in a future release. Since 0.4.0
`Localize.Translate.QueryBuilder` walks the locale chain in plain SQL and no longer
calls this function, so a new application does not need it. A database that already
has it can keep it or drop it.

# `format_string!`

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

# `migrations_path`

---

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