mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
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>