Hello! When I switch between the profile and the main page, it takes me to different languages. If I am in the Ukrainian or Russian version, then when I go to the main page of the site, it takes me to its English version, but I must stay in Ukrainian (for example).
I am assuming that your APP page is also available in the translated languages. The app page is a page with canvas / barebones / vibebp page template and 2 shortcodes in it vibebp_login, vibebp_profile
this shortcodes execute after the page has loaded up , so the URL change is controlled by WPML itself.
If you do not have app page translated in the correct language then my refommndation would be to do so.
See attached video on how the WPML cookie also changes with the page. This cookie is sent to the api calls in the vibebp_login which would load the translations in correct language.
Hello!
When I switch between the profile and the main page, it takes me to different languages. If I am in the Ukrainian or Russian version, then when I go to the main page of the site, it takes me to its English version, but I must stay in Ukrainian (for example).
The video is here: https://fex.net/s/rkxnlm3
Hi!
Can someone help with this ?
The loading of Home page based on language is calculated by WPML.
this should be directed towards wpml support.
Hi!
We turned to WPML for support, this is what they replied to us https://wpml.org/forums/topic/the-language-changes-when-switching-between-the-site-pages-and-the-profile/
Please give us an answer to this so that we can continue to resolve the issue. https://prnt.sc/IU8IEMwnGZfu
Hello!
We are waiting for your answer, this question is very important to us.
Hello!
Can anyone help us with this?
Hello!!
We need help!
https://prnt.sc/IU8IEMwnGZfu
checking this and sharing a video on the issue.
I am assuming that your APP page is also available in the translated languages. The app page is a page with canvas / barebones / vibebp page template and 2 shortcodes in it vibebp_login, vibebp_profile
this shortcodes execute after the page has loaded up , so the URL change is controlled by WPML itself.
If you do not have app page translated in the correct language then my refommndation would be to do so.
See attached video on how the WPML cookie also changes with the page. This cookie is sent to the api calls in the vibebp_login which would load the translations in correct language.
Attached files: 1.mp4
Hello!
We asked WPML support for help and this is what they answered https://prnt.sc/AkUiBMLoj4AB
Hi the video you shared is not accessible anymore , is it the home page which is not showing correct translation or is it the app page?
we got email from WPML to add following code for fix :