$string = $CONFIG->translations[$language][$message_key];
} else if (isset($CONFIG->translations["en"][$message_key])) {
$string = $CONFIG->translations["en"][$message_key];
+ elgg_log(sprintf('Missing %s translation for "%s" language key', $language, $message_key), WARNING);
} else {
$string = $message_key;
+ elgg_log(sprintf('Missing %s translation for "%s" language key', $language, $message_key), ERROR);
}
// only pass through if we have arguments to allow backward compatibility