ItsOK Posted January 21 Share Posted January 21 Hi Friends! I've just started using Weglot integration for easy translation of a website for a client (www.salvadorcarrasco.me), and so far, it worked like a charm! Except for one little thing...I was wondering if there is a way to hide the active language in the language selector menu. When you're viewing the default English version and click the language selector on the menu, you still see English even though that's already the active language of the website. I would like to only show Spanish on the English version, and English on the Spanish version. (I saw one message related to the subject but the shared code didn't work for me.) Thanks in advance for your time! All the best, Ozan SarahSWD 1 Link to comment
Beyondspace Posted January 22 Share Posted January 22 17 hours ago, ItsOK said: Hi Friends! I've just started using Weglot integration for easy translation of a website for a client (www.salvadorcarrasco.me), and so far, it worked like a charm! Except for one little thing...I was wondering if there is a way to hide the active language in the language selector menu. When you're viewing the default English version and click the language selector on the menu, you still see English even though that's already the active language of the website. I would like to only show Spanish on the English version, and English on the Spanish version. (I saw one message related to the subject but the shared code didn't work for me.) Thanks in advance for your time! All the best, Ozan I think we need to use some javascript to get the current language you are in and set the appropriate style on it. Are you in business plan or above one? ItsOK 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
ItsOK Posted January 23 Author Share Posted January 23 17 hours ago, Beyondspace said: I think we need to use some javascript to get the current language you are in and set the appropriate style on it. Are you in business plan or above one? Thank you for your reply, @Beyondspace. Yes, this one has Business Plan. Beyondspace 1 Link to comment
Beyondspace Posted January 23 Share Posted January 23 Can I DM you for more detail? ItsOK 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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