anchor.diff:  
       # check for files matching at each location / language
       langfiles = dict()
  -    for transvar in d.getVar('LO_LANGUAGE_FILES', True).split():
  +    for transvar in d.getVar('LO_LANGUAGE_FILES').split():
           filesfound = 0
           for locale in sorted(locales):
               pattern = transvar.replace('%{1}', locale)
  
positive.code:     # extract locales from translation source path
      # this won't add en-US which comes with base sources
      locales = []
      transpaths = glob.glob('%s/translations/source/*' % d.getVar('S', True))
      for l in transpaths:
          locale = l.replace('%s/translations/source/' % d.getVar('S', True), '')
          if not locale in locales:
              locales.append(locale)
  
  
negative.code:             if translocation in fallbacksearchresult:
                  fallbacksearchresult.replace(translocation, '')
          else:
              bb.warn('%s language file pattern not found:  %s' % (d.getVar('PN'), transvar))
  
      # setup packages for locales with files found
      summary = d.getVar('SUMMARY') or pn
      description = d.getVar('DESCRIPTION') or ""
      locale_section = d.getVar('LOCALE_SECTION')
      mlprefix = d.getVar('MLPREFIX') or ""
      for locale in locales:
          if locale in langfiles:
              ln = legitimize_package_name(locale)
  