Documentation
¶
Overview ¶
Package translation is a togo plugin: DB-backed dynamic i18n. It overrides the kernel translator (k.I18n) with one that resolves keys from the database first and falls back to the static i18n catalog. Translations are editable at runtime (no redeploy) via the Go API or the REST endpoints under /api/translations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is the DB-backed translator + manager (kernel service "translation").
func FromKernel ¶
FromKernel returns the translation store, or nil if not installed.
Click to show internal directories.
Click to hide internal directories.