Missing translations error

(Rimian Perkins) #1

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:

 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?

(Régis Hanol) #2

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

(Rimian Perkins) #3

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

(Régis Hanol) #4