Manage translation not found

Avoid return `undefined` value and display an error in console when no translation is found for a key.