mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-07-15 11:27:11 +08:00
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 |
||
|---|---|---|
| .. | ||
| detect_translate_post_spec.rb | ||
| detect_translate_topic_spec.rb | ||
| digest_rag_upload_spec.rb | ||
| fast_track_topic_gist_spec.rb | ||
| generate_inferred_concepts_spec.rb | ||
| generate_rag_embeddings_spec.rb | ||
| localize_categories_spec.rb | ||
| localize_posts_spec.rb | ||
| localize_topics_spec.rb | ||
| manage_embedding_def_search_index_spec.rb | ||
| stream_composer_helper_spec.rb | ||
| stream_discord_reply_spec.rb | ||
| stream_discover_reply_spec.rb | ||
| stream_post_helper_spec.rb | ||
| stream_topic_ai_summary_spec.rb | ||