0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-ai/spec
Natalie Tay cff8f6ea4d
FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128)
Related:
https://meta.discourse.org/t/multi-language-preferences-for-displaying-localized-content/381116

Allow anon and logged in users to set more than one language that they
understand, when content localization is enabled.


### User preferences

In user preferences, we now include a Content Languages section when the
site has Content Localization enabled.

### Topic menu

In topics where there are any languages that's not the user's language,
the option will appear to set their preferred content languages. This
appears for anon and logged in users, but anon users will be asked to
logged in to set the languages.
__________

These preferences apply only to topic titles and posts. They do not
affect navigational features like categories, tags, or sidebar content.
The per-post option to show the original remains independent of the
user's preferences.

This PR temporarily retains `show_original_content` as a compatibility
field computed from `automatically_translate`, keeping cached clients
and rolling deployments safe. A follow-up PR will remove the legacy API
and frontend compatibility code, then retire the old database column
through the staged column-removal process.
2026-07-30 12:19:44 +08:00
..
configuration DEV: Fix ai_image_caption_agent site setting leaking between specs (#41806) 2026-07-17 11:12:21 +01:00
evals FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
fabricators FEATURE: add cost limits to LLM quotas (#41277) 2026-06-30 15:59:24 +10:00
fixtures DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
integration DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
jobs DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
lib FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128) 2026-07-30 12:19:44 +08:00
models FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
reports
requests UX: Convert AI translation's max days ago setting to a specific date setting instead (#42082) 2026-07-28 18:27:34 +08:00
serializers FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
services FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128) 2026-07-30 12:19:44 +08:00
shared/inference
support DEV: Add DiscourseAi.register_feature public API (#39127) 2026-05-12 10:16:07 +08:00
system FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128) 2026-07-30 12:19:44 +08:00
tasks DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
plugin_helper.rb DEV: Fix tags_locale_detection_backfill spec flakes (#39553) 2026-04-27 10:45:04 +02:00
plugin_spec.rb DEV: Remove deprecated AI plugin settings (#37459) 2026-02-03 05:39:38 -08:00