marvelsdb-json-data icon indicating copy to clipboard operation
marvelsdb-json-data copied to clipboard

Link of [Go to card page] loses the current locale

Open lucasvc opened this issue 10 months ago • 1 comments

When viewing a deck in any non-english locale (URL starts with the locale code: es, it,...), card names are view correctly. Example deck On clicking on it the "preview" is displayed in the same locale. Example card preview But the button below [Go to card page] rendered with the URL without locale, so text is displayed in english. Link URL for the given card, without locale Card page in english

I recall that a few months ago, going to that card also was being seen in the current locale. Is this change expected new behaviour? It is a little bit weird and uncomfortable to keep changing language when viewing cards from deck this way. This happens in any browser. Checked with other users.

Thanks.

lucasvc avatar Apr 17 '24 09:04 lucasvc

Description links are rendered with the correct locale URL.

lucasvc avatar Apr 17 '24 11:04 lucasvc

its because of the static generation of the card data. it should behave sensibly again now.

Kamalisk avatar Jul 15 '24 14:07 Kamalisk