adding a more descriptive exception when an invalid key is provided for l10n.