Jump to content

How To Hide Active Language in the Language Selector Menu on Weglot

Recommended Posts

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

Link to comment
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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Can I DM you for more detail?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.