public String getFullString(String key) {
String text = getResourceString(key);
Pattern searchPattern = Pattern.compile("(\\{)([\\w]{1,40})(\\})");
Matcher matcher = searchPattern.matcher(text);
while (matcher.find()) {
text = text.replaceAll("\\{" + matcher.group(2) + "\\}", getFullString(matcher.group(2)));
matcher = searchPattern.matcher(text);
}
return text;
}