Gopher
FUNCTIONS

i18n

Translates a piece of content based on your i18n configuration files.

Syntax

i18n KEY
T KEY

This translates a piece of content based on your i18n/en-US.yaml (and similar) files. You can use the go-i18n tools to manage your translations. The translations can exist in both the theme and at the root of your repository.

{{ i18n "translation_id" }}

For more information about string translations, see Translation of Strings in Multilingual Mode .