code: func (b *Bundle) ParseTranslationFileBytes(filename string, buf []byte) error {
  	basename := filepath.Base(filename)
  	langs := language.Parse(basename)
  	switch l := len(langs); {
  	case l == 0:
  		return fmt.Errorf("no language found in %q", basename)
  	case l > 1:
  		return fmt.Errorf("multiple languages found in filename %q: %v; expected one", basename, langs)
  	}
  	translations, err := parseTranslations(filename, buf)
  	if err != nil {
  		return err
  	}
  	b.AddTranslation(langs[0], translations...)
  	return nil
  }
docs: // ParseTranslationFileBytes is similar to LoadTranslationFile except it parses the bytes in buf.
  //
  // It is useful for parsing translation files embedded with go-bindata.