getLocalizedMessage(…): fix for params.length == 0.