Missing translations error

I accidentally corrupted my translations config when I installed a plugin I was working on. So, most of my translations were missing for a while. I’ve fixed it now.

I still have some missing translations rendering in posts and I can’t work out where to fix it.

When I open rails console, and query a deleted post, I see:

<Post:0x........
 id: ...,
 ...
 raw: "translation missing: en.js.post.deleted_by_author",
 cooked: "<p>translation missing: en.js.post.deleted_by_author</p>",

What shall I do to clean this out? It’s cached somewhere or is it cooked into the content?

You will have to manually (SQL is fine) update the raws of the deleted posts and rebake them.

1 Like

I was thinking I may have to do that. Thanks for letting me know.