Commit Graph

2 Commits

Author SHA1 Message Date
4d9bc4fef4 DEV: More helper methods for topic localization (#32643)
This adds more methods on `Topic` so it can be used in a later PR that
will localize topics.
2025-05-08 16:12:28 +08:00
413fea8051 DEV: Add new key for anon cache for localization (#32640)
As we move content localization to core, we will need to register a new
key to handle cases when anon users hit the cache to avoid cache
poisoning.

Related:
- https://github.com/discourse/discourse-translator/pull/273
-
d7ae611981/lib/discourse_translator/inline_translation.rb (L94-L98)
2025-05-08 14:30:03 +08:00