Skip to content

Fix SteamDB rating #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025
Merged

Fix SteamDB rating #231

merged 1 commit into from
Aug 19, 2025

Conversation

Virenbar
Copy link
Contributor

A recent Steam update changed the thousands separator in the Russian (and possibly other) localization, now a space is used as it should. This broke the parsing of numbers when calculating the rating.
Screenshots are taken on the Signalis page.
chrome_2025-08-19_15-47-08

Before

chrome_2025-08-19_15-48-03

After

chrome_2025-08-19_16-05-54

@xPaw
Copy link
Member

xPaw commented Aug 19, 2025

Could you please check other languages? I hope parser won't break anywhere because of removed spaces. Maybe it needs to replace all non number characters.

@Virenbar
Copy link
Contributor Author

I've checked all the languages, and the correct rating is calculated for all of them.
Bulgarian, Czech, Polish, Finnish, Swedish, and Ukrainian now also use space.

@xPaw xPaw merged commit f002cd8 into SteamDatabase:master Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants