code: func (l *Locale) AddDomain(dom string) {
  	var poObj Translator
  
  	file := l.findExt(dom, "po")
  	if file != "" {
  		poObj = new(Po)
  		// Parse file.
  		poObj.ParseFile(file)
  	} else {
  		file = l.findExt(dom, "mo")
  		if file != "" {
  			poObj = new(Mo)
  			// Parse file.
  			poObj.ParseFile(file)
  		} else {
  			// fallback return if no file found with
  			return
  		}
  	}
  
  	// Save new domain
  	l.Lock()
  
  	if l.Domains == nil {
  		l.Domains = make(map[string]Translator)
  	}
  	if l.defaultDomain == "" {
  		l.defaultDomain = dom
  	}
  	l.Domains[dom] = poObj
  
  	// Unlock "Save new domain"
  	l.Unlock()
  }
docs: // AddDomain creates a new domain for a given locale object and initializes the Po object.
  // If the domain exists, it gets reloaded.