Files
romm/backend/tests/handler/metadata
Georges-Antoine Assi 3b3aebc64b fix(backend): scope ScreenScraper French fallback to taxonomy fields
The scan language priority defaulted to ["en", "fr"], and get_preferred_languages
appended ["en", "fr"] unconditionally on top of whatever was configured. French
was therefore impossible to remove, and a user asking for a single language still
got French descriptions.

That fallback originally existed only for ScreenScraper's `familles` and `modes`
taxonomies, which are French-authored and frequently untranslated. It was lifted
into a general language preference when the setting was introduced, at which point
it started applying to the synopsis as well.

Split the two concerns: get_preferred_languages now honors the configured order
verbatim (falling back to English only when the list is empty) and drives the
synopsis, while the new get_taxonomy_languages appends the en/fr fallbacks for
franchises and game modes. The config default drops to ["en"].

Configuring ["de"] now yields a German description or none, rather than a silently
French one, while French franchise and mode names are still used where no English
entry exists.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-30 21:21:35 -04:00
..
2026-06-18 21:17:47 -04:00
2026-05-17 12:43:33 -04:00
2026-07-01 19:13:42 -04:00