discourse-ai/app/jobs/scheduled
Natalie Tay d54cd1f602
DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495)
This commit
- normalizes locales like en_GB and variants to en. With this, the feature will not translate en_GB posts to en (or similarly pt_BR to pt_PT)
- consolidates whether the feature is enabled in `DiscourseAi::Translation.enabled?`
- similarly for backfill in  `DiscourseAi::Translation.backfill_enabled?`
  - turns off backfill if `ai_translation_backfill_max_age_days` is 0 to keep true to what it says. Set it to a high number to backfill everything
2025-07-09 22:21:51 +08:00
..
categories_locale_detection_backfill.rb DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00
category_localization_backfill.rb DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00
embeddings_backfill.rb FEATURE: Seamless embedding model upgrades (#1486) 2025-07-04 16:44:03 -03:00
generate_concepts_from_popular_items.rb FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
post_localization_backfill.rb DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00
posts_locale_detection_backfill.rb DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00
remove_orphaned_embeddings.rb FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
sentiment_backfill.rb FEATURE: Backfill posts sentiment. (#982) 2024-12-03 10:27:03 -03:00
summaries_backfill.rb DEV: Surface `topic_id` in errors of summarization backfill (#1493) 2025-07-09 06:39:36 -07:00
topic_localization_backfill.rb DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00
topics_locale_detection_backfill.rb DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00