Replacing site texts efficiently?

No, I don’t think so.

This doesn’t hit the database (I think it would be too slow).

I believe most of the locale stuff is processed in memory for speed, using Redis as a cache (happy to be corrected on that).

the only thing that gets stored in the database are your modifications (in the table translation_overrides), which will be read when you initialise the app or piecemeal when you make a single modification whilst online.

I would just point out a couple of things:

  • increasing the number of modifications significantly might extend your app initialisation time (I’m not sure anyone has benchmarked this).
  • these may become an administrative pain to maintain as Discourse evolves but maintains its own nomenclature. You are inventing work for yourself here.
  • given it’s now arguably the most popular forum platform, lots of people already use at least one Discourse site and are very used to the nomenclature, so maybe consider not confusing your users by changing what they’ve already got used to back to prior norms?

Also see:

This implies that each Category has its own administrators, URL, settings, purpose … e.g. Meta is a forum. It is not made up of several forums … I’m really not sure how you’d argue that? But I digress.