I have the same problem, I thought that it was because I use translation on my spanish site, never occurred to me that it was happening on other sites as well
I didnt use a code, I created a registration code, a general one and pasted it on the invitation mail, with a sentence like “To register on site use code 123” and done.