// Not found, use original (added in next iteration)
lastPos = matcher.start();
} else {
resolvedValue
.append(resolveValuesInternalKeys(locale, bundleName, toResolvedKey, currentProperties, overlayEnabled, recursionLevel, resolvedKey));
lastPos = matcher.end();
}
} else {
// Resolve using other bundle
String resolvedKey = getLocalizedString(toResolvedBundle, toResolvedKey, null, locale, overlayEnabled, true, true, true, recursionLevel);
if (StringHelper.containsNonWhitespace(resolvedKey)) {