# `LangChain.Gettext`
[🔗](https://github.com/brainlid/langchain/blob/v0.8.14/lib/gettext.ex#L1)

A module providing Internationalization with a gettext-based API.

By using [Gettext](https://hexdocs.pm/gettext),
your module gains a set of macros for translations, for example:

    use Gettext, backend: LangChain.Gettext

    # Simple translation
    gettext("Here is the string to translate")

    # Plural translation
    ngettext("Here is the string to translate",
             "Here are the strings to translate",
             3)

    # Domain-based translation
    dgettext("errors", "Here is the error message to translate")

    # Context-based message
    pgettext("email", "Email text to translate")

See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.

# `handle_missing_bindings`
[🔗](https://github.com/brainlid/langchain/blob/v0.8.14/lib/gettext.ex#L26)

# `handle_missing_plural_translation`
[🔗](https://github.com/brainlid/langchain/blob/v0.8.14/lib/gettext.ex#L26)

# `handle_missing_translation`
[🔗](https://github.com/brainlid/langchain/blob/v0.8.14/lib/gettext.ex#L26)

---

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