# Discobot translation missing error

**URL:** <https://meta.discourse.org/t/discobot-translation-missing-error/64429>\
**Category:** Product Support\
**Created:** [13.Июнь.2017 15:21:55 UTC](https://meta.discourse.org/t/discobot-translation-missing-error/64429 "2017-06-13T15:21:55Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [25.Август.2017 01:50:12 UTC](https://meta.discourse.org/t/discobot-translation-missing-error/64429/22 "2017-08-25T01:50:12Z")

</div>

> [@lynaghk](#):
>
> What’s the reasoning for enforcing that all interpolation keys are used in the message?
> 
> (The missing\_keys check in the commit.)

The idea is to help users check that they didn’t leave out any of the interpolation keys from the original translation. I didn’t think that some users would want to remove them completely. This isn’t critical but I added it along with the `invalid_keys` check which was the more critical one that would prevent users from shooting themselves in the foot. Unfortunately, that has since been reverted while I think of a solution for [this hash](https://github.com/discourse/discourse/blob/e8a2aaafebb93675bb3a39314920b96dee314025/app/mailers/user_notifications.rb#L455-L481) which mixes parameters for the translations and options used to decide what type of emails to send.

---

_[View the full topic](https://meta.discourse.org/t/discobot-translation-missing-error/64429)._
