MYLOC-116 Updating translations.set() to validate key.