# `GettextSigils`
[🔗](https://github.com/zebbra/gettext_sigils/blob/v0.5.1/lib/gettext_sigils.ex#L1)

A `~t` sigil for Gettext translations, with automatic interpolation and per-call modifiers:

    ~t"Hello, #{user.name}!"
    # => gettext("Hello, %{user_name}!", user_name: user.name)

`use GettextSigils` replaces `use Gettext` in your module and imports the `~t` sigil:

    use GettextSigils,
      backend: MyApp.Gettext,
      sigils: [
        # ...
      ]

See the [README](readme.html) for an overview, and the
[Interpolation](interpolation.html), [Modifiers](modifiers.html), and
[Pluralization](pluralization.html) guides for details.

## Options

- `:sigils` - a keyword list of options for the sigil. See `GettextSigils.Options` for the available options.
- All other options are passed to `use Gettext` (eg. `:backend`).

---

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