Im trying to make a pop up that appears on every page and looks exactly as the one in the picture, I did a custom one but I cannot redirect to the current page in the same language, the only thing I can do is redirect to the homepage.
That should give you the correct flags and should come with the correct implementation so that it will properly redirect to the corresponding translation of the current page when you are clicking the other language than the one you are on already.
I hope I understood your goal correctly.
If that doesn't work, I'm afraid this will require custom coding (which falls out of the purpose of our Support Policy) and for that, I would recommend hiring a developer or a WPML contractor (https://wpml.org/contractors/).
I hope that you will find the information above helpful.
If what a normal language switcher does is what you need, then loading one as explained in our documentation should work exactly the same.
Kind regards,
Mihai Apetrei
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.