Sections

If the key is not a reserved one (e.g. one, two…) then it acts as a sub section. The sections are separated by dot characters (.).

  1. Welcome:
  2. Message: "Welcome {{.Name}}"
  1. ctx.Tr("Welcome.Message", iris.Map{"Name": "John"})
  2. // Outputs: Welcome John