Please share a screenshot marking where exactly you're facing the issue.
when press on the Button link take this course in English language
the link go to http://arch-school.com/register/
when i change the language to Arabic must be the link go to
http://arch-school.com/ar/register/
but it's go to http://arch-school.com/register/
go to this links http://arch-school.com/course/character-modeling-cartoon-style-by-3ds-max/
try to press on take this course
go to the Arabic version
http://arch-school.com/ar/course/character-modeling-cartoon-style-by-3ds-max/
try to press on take this course
all languages go to http://arch-school.com/register/
Also please share WP Admin credentials, WPML support is clearly skipping their responsibility.
We're using the function : site_url( BP_REGISTER_SLUG ); for generating registration link.
Note that site_url is a WordPress function and BP_Register_slug is a BuddyPress constant. So, nothing here is added or modified by the theme.
But still since you've been facing this issue for quite long, we'll try to do what WPML support should have done. Note that this is "by far" not included in any kind of theme support.
Please share admin credentials.
Ok, yes you're correct, I was not aware that you're using this customization, but still the default registration link is not working as expected (which is where WPML is at fault)
Share admin credentials so that we can fix this issue.
Login information can you check with your self
http://arch-school.com/
User : cgway
password : cgway@2020
Meanwhile did you try the Alex's code, it is correct and should resolve the issue you're facing.
I just applied alex's code and it is working here : http://prntscr.com/azo0g8
Now chainging the customisation
Done.
Let me know if the issue is not resolved.
We were checking at different locations and which is why it got really confusing.
a. We were checking at the signup button in top header.
b. You where checking when user clicks on Take this course.
Hence it got really confusing because to us the issue was resolved but we were not aware of the customization implemented by you.
I have updated the customisation.
Let me know if we can mark this issue resolved.
Yesss the Problem solved :)
Thanks for you
Thanks for your cooperation with me to solve the problem