Closed drikusroor closed 3 months ago
NB: We should set all the ToontjeHoger experiments' language fields to Dutch - that way enforcing Dutch localization and avoiding a mingle mush in case users have their system or browser language set to English.
This pull request includes fixes for localization and the social message in the code.
The commit "Fix: Update social message based on locale and current URL" updates the social message based on the user's locale and the current URL. It also fixes an issue with the URL.
The commit "fix: Fix Round x / x localization in Score action" fixes the localization of the "Round x / x" text in the Score action.
The hard-coded urls in the Toontje Hoger (not Kids) rules files have been updated to send the user to
"/collection/toontjehoger"
These changes improve the user experience by ensuring that the social message is correctly localized and that the "Round x / x" text is displayed correctly.
Resolves #1151
Screenshots
Left: Safari set to (System language) English, Right: Firefox, set to Dutch (browser setting)
Rounds localisation
Social media share content & url