[Feature] Prefer localized game titles from ScreenScraper based on configured language and region priorities

Open
#5,652 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start by reading the ScreenScraper metadata handling and the existing language and region priority logic; the issue does not name specific files or tests. Trace how provider titles and alternative names reach the ROM API and display metadata, then identify how manual title edits are preserved. Done means explicitly tagged titles can be selected by configured priorities, exposed through the API, and fall back to the current title without changing ROM identity or filenames.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
RomM already supports preferred languages and regions for scraped metadata and artwork. However, the displayed game title often remains English even when ScreenScraper provides an explicitly region-tagged localized title.

ScreenScraper maintains regional game names, but RomM currently exposes these names in alternative_names without their language or region associations. As a result, neither RomM nor API consumers can reliably determine which alternative name belongs to a preferred locale.

Example: Broken Sword II (PlayStation)
RomM version: 5.4.1

Current configuration:

scan:
priority:
language:
- de
- en
region:
- de
- eu
- wor
- us
- jp
region_mode: prefer_config
metadata:
- ss
- igdb

ScreenScraper game ID: 19413
IGDB game ID: 1150

Current displayed title:
Broken Sword II: The Smoking Mirror

Expected localized title:
Baphomets Fluch II: Die Spiegel der Finsternis

ScreenScraper explicitly provides different titles for different regions:

Region | Title
USA | Broken Sword II: The Smoking Mirror
Europe | Broken Sword II: The Smoking Mirror
Germany | Baphomets Fluch II: Die Spiegel der Finsternis
Spain | Broken Sword II: Las Fuerzas del Mal
France | Les Boucliers de Quetzalcoatl : Les Chevaliers de Baphomet II
Italy | Broken Sword II: La Profezia dei Maya

RomM already receives the German title as an alternative name, but the /api/roms/157 response does not preserve its region association. The German description is correctly selected, demonstrating that language preferences are already being applied to other metadata fields.

A second example is Broken Sword: The Shadow of the Templars (ScreenScraper ID 19338), which has the German title Baphomets Fluch.

Describe the solution you'd like
Allow RomM to use localized game titles from ScreenScraper according to the existing configured language and region priorities.

Ideally:
Preserve the region/language information associated with ScreenScraper's regional game titles.
Add an optional configuration setting such as scan.priority.localized_titles: true, disabled by default for backward compatibility. When enabled, select the display title according to scan.priority.region, falling back to scan.priority.language where applicable.

Preserve the original provider title and all alternative names for searching. Fall back to the existing game title when no explicitly matching localized title exists.

Expose structured localized titles through the RomM API, allowing external clients such as Batocera/EmulationStation integrations to use the same authoritative metadata. Respect manually edited game titles and avoid overwriting them during normal metadata updates.

An optional API representation could be:

{
"name": "Baphomets Fluch II: Die Spiegel der Finsternis",
"localized_names": [
{
"region": "de",
"name": "Baphomets Fluch II: Die Spiegel der Finsternis",
"source": "ss"
},
{
"region": "us",
"name": "Broken Sword II: The Smoking Mirror",
"source": "ss"
}
]
}

The example is illustrative, not a proposed mandatory schema.

Important considerations

This should affect display metadata only, never the physical ROM filenames, file hashes, game IDs or savegame associations. The preferred display language or region should not be confused with the actual language supported by the ROM dump. A US game can have German library metadata without becoming a German-language ROM.

Localization should use explicitly tagged provider data, not guesses based on the text of alternative names. Existing manually overridden game titles should be preserved. Ideally, the feature should integrate with the existing ScreenScraper metadata handling rather than requiring a separate metadata provider.

Why this would be useful

RomM already provides localized descriptions and region-specific artwork. Supporting localized display titles would make that localization consistent across the library. It would also benefit integrations that use RomM as the single source of truth for metadata, without requiring each client to implement its own ScreenScraper lookup or language detection.

Dominant language
Python
Stars
13.3k
Forks
747
Avg merge
20h 58m
Merged PRs (30d)
207

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rommapp/romm

All issues in rommapp/romm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.