PlayniteExtensionsCollection icon indicating copy to clipboard operation
PlayniteExtensionsCollection copied to clipboard

[Review Viewer] Not reviews for french language

Open jullebarge opened this issue 2 years ago • 1 comments

Extension name

Review Viewer

Bug Description

My Playnite is in french and when I choose to use client language in review viewer settings, nothing is displayed. From what I've seen, the problem is in the url used to get the reviews.

For example, here is the request for summary in french that I got from the log file: https://store.steampowered.com/appreviews/887060?json=1&purchase_type=all&language=fr&review_type=all&playtime_filter_min=0&filter=summary It doesn't give any results.

But if I change "fr" to "french" in the url, it works: https://store.steampowered.com/appreviews/887060?json=1&purchase_type=all&language=french&review_type=all&playtime_filter_min=0&filter=summary

The "fr" come from this code: https://github.com/darklinkpower/PlayniteExtensionsCollection/blob/79117af4c654fc21fba41950f705b7eeb53de458/source/Common/SteamCommon/Common.cs#L88

Not sure you can just change it in here without breaking other stuff, but the news viewer who us it too display the news in english, not in french.

To Reproduce

No response

Logs

extensions.log playnite.log

Screenshots

image

jullebarge avatar May 29 '23 19:05 jullebarge

Same here. In my case, it's Brazilian Portuguese. In line 112 it should be brazilian and not pt-BR.

eacoimbra avatar Nov 20 '23 12:11 eacoimbra