mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-14 16:02:23 +08:00
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. |
||
|---|---|---|
| .. | ||
| ai_bot | ||
| ai_helper | ||
| ai_moderation | ||
| automation | ||
| completions | ||
| configuration | ||
| database | ||
| discord/bot | ||
| embeddings | ||
| inference | ||
| inferred_concepts | ||
| personas | ||
| sentiment | ||
| summarization | ||
| tasks | ||
| translation | ||
| utils | ||
| automation.rb | ||
| embeddings.rb | ||
| engine.rb | ||
| guardian_extensions.rb | ||
| multisite_hash.rb | ||
| post_extensions.rb | ||
| summarization.rb | ||
| topic_extensions.rb | ||
| translation.rb | ||