Help with Rails console to edit text template

Without looking carefully at the code, I’m 99% sure that the issue is on the Rails side and not the UX side, so I don’t think changing it on the Rails side is likely to fix anything. If you have a budget, I can help figure out how to do what you ask, but won’t promise that it will solve your problem.

You can find ones you’ve changed with something like this:

TranslationOverride.all.pluck(:id, :translation_key)

And then update them with something like

to=TranslationOverride.find(1)
to.value="My new value for the override"
to.save

I don’t promise that this will work or not make things worse. But worse case you should be able to un-do your changes from the UX.