code: func (l *Locale) AddTranslator(dom string, tr Translator) {
  	l.Lock()
  
  	if l.Domains == nil {
  		l.Domains = make(map[string]Translator)
  	}
  	if l.defaultDomain == "" {
  		l.defaultDomain = dom
  	}
  	l.Domains[dom] = tr
  
  	l.Unlock()
  }
docs: // AddTranslator takes a domain name and a Translator object to make it available in the Locale object.