code: public static String getVariantBundleName(String bundleName, String variantKey, boolean iGeneratedResource) {
  
  		String newName = bundleName;
  		if (StringUtils.isNotEmpty(variantKey)) {
  			int idxSeparator = bundleName.lastIndexOf('.');
  			if (!iGeneratedResource && idxSeparator != -1) {
  				newName = bundleName.substring(0, idxSeparator);
  				newName += JawrConstant.VARIANT_SEPARATOR_CHAR + variantKey;
  				newName += bundleName.substring(idxSeparator);
  			} else {
  				newName += JawrConstant.VARIANT_SEPARATOR_CHAR + variantKey;
  			}
  		}
  
  		return newName;
  	}
docs: Get the bundle name taking in account the variant key
  
  @param bundleName
  the bundle name
  @param variantKey
  the variant key
  @param iGeneratedResource
  the flag indicating if it's a generated resource
  @return the variant bundle name