worldcubeassociation.org icon indicating copy to clipboard operation
worldcubeassociation.org copied to clipboard

Made status to english in role change mailer's metadata

Open danieljames-dj opened this issue 1 year ago • 3 comments

danieljames-dj avatar Oct 23 '24 02:10 danieljames-dj

Why is this needed?

dunkOnIT avatar Oct 23 '24 10:10 dunkOnIT

Why is this needed?

Because in emails sometimes we are getting the status in different language - like when somebody is making the change from non-english locale.

danieljames-dj avatar Oct 23 '24 10:10 danieljames-dj

Ah I see! So we're essentially telling i18n "give us this key in English, not whatever language setting the user triggering it is using"?

Any suggest on how I can reproduce this locally to test?

dunkOnIT avatar Oct 23 '24 10:10 dunkOnIT

Correct. In local you can sign in as a WST senior (basically yourself), change to non English language, go to 'New Admin Panel' and go to "/panel/admin#groups-manager-admin" and promote someone from member to non-member.

(I've commented immediately after your comment, but somehow I added my comment after editing your comment and today when I checked I see my comment under your comment and I realized the mistake, really sorry for that 😅)

danieljames-dj avatar Oct 26 '24 02:10 danieljames-dj