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 |
||
|---|---|---|
| .. | ||
| categories_locale_detection_backfill.rb | ||
| category_localization_backfill.rb | ||
| embeddings_backfill.rb | ||
| generate_concepts_from_popular_items.rb | ||
| post_localization_backfill.rb | ||
| posts_locale_detection_backfill.rb | ||
| remove_orphaned_embeddings.rb | ||
| sentiment_backfill.rb | ||
| summaries_backfill.rb | ||
| topic_localization_backfill.rb | ||
| topics_locale_detection_backfill.rb | ||