code: func (c *ResTableConfig) IsLocaleBetterThan(o *ResTableConfig, r *ResTableConfig) bool {
  	if r.Language == [2]uint8{} && r.Country == [2]uint8{} {
  		// The request doesn't have a locale, so no resource is better
  		// than the other.
  		return false
  	}
  
  	if c.Language == [2]uint8{} && c.Country == [2]uint8{} && o.Language == [2]uint8{} && o.Country == [2]uint8{} {
  		// The locales parts of both resources are empty, so no one is better
  		// than the other.
  		return false
  	}
  
  	if c.Language != o.Language {
  		// The languages of the two resources are not the same.
  
  		// the US English resource have traditionally lived for most apps.
  		if r.Language == [2]uint8{'e', 'n'} {
  			if r.Country == [2]uint8{'U', 'S'} {
  				if c.Language != [2]uint8{} {
  					return c.Country == [2]uint8{} || c.Country == [2]uint8{'U', 'S'}
  				}
  				return !(c.Country == [2]uint8{} || c.Country == [2]uint8{'U', 'S'})
  			}
  		}
  		return c.Language != [2]uint8{}
  	}
  
  	if c.Country != o.Country {
  		return c.Country != [2]uint8{}
  	}
  
  	return false
  }
docs: // IsLocaleBetterThan returns true if c is a better locale match than o for the r configuration.