AdaPortillo Posted December 1, 2023 Share Posted December 1, 2023 Hello, My site is currently in two languages. English and Spanish, using the Weglot extension and subdirectories. (Site password is: centralgala). I want to include a pop-up that changes the site language should they desire to select "English" or "Spanish" upon arrival. I currently have the pop-up set to only if they land on the homepage site (English), and the button for Spanish goes to mysite.com/es (because that's the only way that makes sense right now). I want to make it so that no matter what page new users come across, the pop-up will show up, and if they want to switch the language the button selection will redirect them to either the /CurrentPageName (English), or the /en/CurrentPageName (Spanish) using that pop-up. Hopefully, that makes sense. Thanks to you all in advance! Link to comment
tuanphan Posted December 3, 2023 Share Posted December 3, 2023 Hi, What is site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment