discourse/plugins/discourse-ai/lib
Natalie Tay b7d7f99c04
FEATURE: Allow re-localization twice a day if post version has changed (#34023)
This commit is a continuation of
https://github.com/discourse/discourse-ai/pull/1422.

Previously, we entirely skipped / disallowed localization. With this PR,
- For topics, we will only enqueue the translate title job if the post
revisor indicates there is a title change
- For posts, we will only enqueue the translate post job if there is a
post version change

Both jobs will be enqueued with a delay of
`SiteSetting.editing_grace_period` or `5 minutes`, whichever is larger.
Each topic or post may be retranslated to a locale at a maximum of twice
a day.
2025-08-04 10:58:30 +08:00
..
ai_bot FEATURE: improvements to ai conversation page (#33853) 2025-07-26 09:19:28 +10:00
ai_helper FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
ai_moderation
automation FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
completions FIX: ensure usage report is timezone aware to prevent gaps (#33913) 2025-07-29 13:42:31 -07:00
configuration FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
database
discord/bot
embeddings FIX: Optimize shortcomings from topic truncation from a27e20c (#33983) 2025-07-30 17:09:05 -03:00
inference
inferred_concepts
personas DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
sentiment
summarization DEV: Pass category/tags to LLM for AI summary (#33861) 2025-07-25 10:35:05 -05:00
tasks FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
translation FEATURE: Allow re-localization twice a day if post version has changed (#34023) 2025-08-04 10:58:30 +08:00
utils
automation.rb FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
embeddings.rb
engine.rb
guardian_extensions.rb
multisite_hash.rb
post_extensions.rb
summarization.rb FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00
topic_extensions.rb
translation.rb FEATURE: configure a default LLM model for all features (#33752) 2025-07-28 16:08:00 -03:00