Wax.Messages.Templates.Language (wax v1.1.4)

Defines the Template language structure

code: Is the language code in either language (en) or language_locale (en_ES) formats policy: This is always "deterministic"

Summary

Functions

Creates a new language struct

Types

t()

@type t() :: %Wax.Messages.Templates.Language{code: String.t(), policy: String.t()}

Functions

new(code)

@spec new(String.t()) :: t()

Creates a new language struct