package
2.8.3
Repository: https://github.com/gogf/gf.git
Documentation: pkg.go.dev

# Functions

GetContent retrieves and returns the configured content for given key and specified language.
Instance returns an instance of Resource.
LanguageFromCtx retrieves and returns language name from context.
New creates and returns a new i18n manager.
SetDelimiters sets the delimiters for translator.
SetLanguage sets the language for translator.
SetPath sets the directory path storing i18n files.
T is alias of Translate for convenience.
Tf is alias of TranslateFormat for convenience.
Translate translates `content` with configured language and returns the translated content.
TranslateFormat translates, formats and returns the `format` with configured language and given `values`.
WithLanguage append language setting to the context and returns a new context.

# Constants

DefaultName is the default group name for instance usage.

# Structs

Manager for i18n contents, it is concurrent safe, supporting hot reload.
Options is used for i18n object configuration.