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

AI-generated summary

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

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

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?

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

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

4 „Gefällt mir“

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

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.

2 „Gefällt mir“

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

https://github.com/discourse/discourse/commit/e53bf294efafedb946dbcd735503eb7b3f326d43

5 „Gefällt mir“

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

https://github.com/discourse/discourse/pull/3753

3 „Gefällt mir“