# Email invitation Failed (due to translation issue since 1.4.0.beta7 update?)

**URL:** <https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664>\
**Category:** Bug\
**Created:** [August 2, 2015, 1:08pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664 "2015-08-02T13:08:40Z")\
**Posts on this page:** 9\
**Page:** 1

## AI-generated summary

The Email invitation feature has failed due to a translation issue introduced in the 1.4.0.beta7 update. [gerhard](/t/-/31664/2) fixed the translation in Transifex, and [techAPJ](/t/-/31664/7) manually updated the translations. However, [gerhard](/t/-/31664/2) suggested that Discourse should be able to handle missing interpolation arguments in translations by using the English locale as a fallback. [riking](/t/-/31664/4) clarified that the existing fallback feature only covers missing translations, not bad interpolations. [riking](/t/-/31664/8) later implemented a proper fix for this issue, which has been merged into the Discourse repository ([pull request #3753](https://github.com/discourse/discourse/pull/3753)).

<div class="post-metadata">

**Author:** ![h1onE](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/h1one/32/45349_2.png) [@h1onE](https://meta.discourse.org/u/h1onE)\
**Post date:** [August 2, 2015, 1:08pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/1 "2015-08-02T13:08:40Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/6/3/63f9dd4fde9fca696508ec04ee9245177328ca2c.png) 

```
Jobs::HandledExceptionWrapper: Wrapped I18n::MissingInterpolationArgument: missing interpolation argument

```

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [August 2, 2015, 7:14pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/2 "2015-08-02T19:14:53Z")

</div>

I fixed the translation in Transifex. This should be fixed the next times translations get pulled into Discourse.

@techAPJ I feel like Discourse shouldn’t stop working when translations have missing interpolation arguments. Can we filter invalid translations during the pull from Transifex or somehow use the English locale when such an error occurs?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [August 2, 2015, 9:51pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/3 "2015-08-02T21:51:28Z")

</div>

I thought the change to use English locale as fallback, which @riking worked on, was already in?

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [August 2, 2015, 9:52pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/4 "2015-08-02T21:52:36Z")

</div>

It doesn’t cover the case of bad interpolations yet, just missing translations.

---

<div class="post-metadata">

**Author:** ![ndalliard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ndalliard/32/44338_2.png) [@ndalliard](https://meta.discourse.org/u/ndalliard)\
**Post date:** [August 4, 2015, 7:35am UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/5 "2015-08-04T07:35:15Z")

</div>

> [@gerhard](#):
>
> This should be fixed the next times translations get pulled into Discourse.

Can someone just shortly explain me how that works? When will translation get pulled into discourse?

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [August 4, 2015, 7:43am UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/6 "2015-08-04T07:43:25Z")

</div>

It’s a manual process and _usually_ it’s done every Wednesday, but I guess it’s vacation time, so don’t count on it…  
If you can’t wait, take a look at the [locale-override plugin](https://github.com/lidel/discourse-locale-override).

---

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [August 4, 2015, 7:56am UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/7 "2015-08-04T07:56:03Z")

</div>

Translations are usually updated twice a week (Monday and Thursday). I just pushed the new translations:

[https://github.com/discourse/discourse/commit/e53bf294efafedb946dbcd735503eb7b3f326d43](https://github.com/discourse/discourse/commit/e53bf294efafedb946dbcd735503eb7b3f326d43)

---

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [September 11, 2015, 6:44pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/8 "2015-09-11T18:44:24Z")

</div>

@riking implemented a proper fix for this. This can be closed.

[https://github.com/discourse/discourse/pull/3753](https://github.com/discourse/discourse/pull/3753)

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [September 11, 2015, 7:00pm UTC](https://meta.discourse.org/t/email-invitation-failed-due-to-translation-issue-since-1-4-0-beta7-update/31664/9 "2015-09-11T19:00:35Z")

</div>

Closed on September 11, 2015, 7:00pm UTC


