discourse-ai/spec/jobs/regular
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
..
detect_translate_post_spec.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
detect_translate_topic_spec.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
digest_rag_upload_spec.rb FEATURE: Native PDF support (#1127) 2025-02-18 09:22:57 +11:00
fast_track_topic_gist_spec.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
generate_inferred_concepts_spec.rb FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
generate_rag_embeddings_spec.rb FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
localize_categories_spec.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
localize_posts_spec.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
localize_topics_spec.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
manage_embedding_def_search_index_spec.rb FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
stream_composer_helper_spec.rb FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
stream_discord_reply_spec.rb FEATURE: Configure persona backed features in admin panel (#1245) 2025-04-10 08:16:31 -07:00
stream_discover_reply_spec.rb FEATURE: Experimental search results from an AI Persona. (#1139) 2025-02-20 14:37:58 -03:00
stream_post_helper_spec.rb FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
stream_topic_ai_summary_spec.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00