const (
    CurrentLocaleRenderArg = "currentLocale" // The key for the current locale render arg value


func I18nFilter

func I18nFilter(c *Controller, fc []Filter)

func Message

func Message(locale, message string, args ...interface{}) string

Perform a message look-up for the given locale and message using the given arguments.

When either an unknown locale or message is detected, a specially formatted string is returned.

func MessageLanguages

func MessageLanguages() []string

Return all currently loaded message languages.