code: public List<AttributeBundle> getAttributeBundles() {
          if (attributeBundles != null) {
              return attributeBundles;
          }
  
          Map<String, AttributeBundle> bundlesMap = newHashMap();
  
          for (Attribute attribute : getAttributes().getList()) {
              if (attribute.columnNameHasLanguageSuffix()) {
                  String base = attribute.getColumnNameWithoutLanguage();
                  AttributeBundle bundle = bundlesMap.get(base);
                  if (bundle == null) {
                      bundle = new AttributeBundle(attribute); // add first attribute
                      bundlesMap.put(base, bundle);
                  } else {
                      bundle.addAttribute(attribute);
                  }
              }
          }
  
          // keep bundles with more than 1 attribute
          attributeBundles = newArrayList();
          for (AttributeBundle bundle : bundlesMap.values()) {
              if (bundle.getAttributes().size() > 1) {
                  attributeBundles.add(bundle);
                  log.info("Found columns satisfying localization pattern: " + bundle.toString());
              }
          }
  
          return attributeBundles;
      }
docs: we should also check on types.