Multilingual UI Switcher Kit

0
2
1

Enhance your Webflow site with a Multilingual Language Switcher Cloneable. Featuring 14 custom switchers and Weglot integration, this UI kit boosts accessibility and user experience. Improve global reach and user engagement effortlessly.

About cloneable

Introducing a sophisticated language switcher UI kit designed specifically for Webflow users seeking to enhance their websites with multilingual functionality. Developed by Finsweet, this cloneable tool is fully equipped to integrate with the Weglot translation service, enabling effortless multilingual support in mere minutes.

This cloneable features 14 custom language switchers, each powered by intricate Webflow Interactions, ensuring that users can seamlessly integrate them into their existing designs. By utilizing these switchers, Webflow users can easily broaden their audience reach, making their content accessible to non-native speakers and enhancing the overall user experience.

The UI kit not only provides a visually polished set of language switchers but also comes with comprehensive video tutorials tailored for users at any skill level. These resources are invaluable for anyone looking to implement a multilingual strategy while ensuring that the user interface remains user-friendly and engaging.

Additionally, the underlying code utilizes essential JavaScript libraries like Html5shiv.js for compatibility with older browsers, ensuring no user is excluded, while also incorporating the Weglot API for real-time translation management. The custom CSS controls the display properties effectively, allowing for tailored visibility of language options depending on user interaction.

Ultimately, this Webflow cloneable empowers users to cultivate a more inclusive online presence, improve accessibility, and potentially boost international traffic—all while enhancing site aesthetics and functional performance. Implementing this kit not only streamlines the translation process but also elevates the website's professionalism and user engagement, making it an essential addition for any Webflow project aiming for a global impact.

About custom code
About CSS

What does the CSS code in the Webflow project do with the .weglot-container class?

The CSS code sets the display property of the .weglot-container class to none. This means that elements with this class will not be visible on the page. This can be useful for hiding language switches or translations provided by the Weglot translation service, especially if you want to control the display based on user interaction or other conditions.

How does the CSS class .a affect SVG elements in Webflow?

The CSS class .a applies the fill property to SVG elements using the value CurrentColor. This means that the SVG will adopt the color of its parent element's text color. This is particularly useful in Webflow for maintaining a consistent color scheme across SVG icons and elements since you can use CSS to change the text color, and the SVG will automatically update to match.

About Javascript

What does the Weglot library do in the context of this JavaScript code?

Weglot is a translation management platform that enables multilingual websites. In this JavaScript code, Weglot is initialized multiple times with an API key, which enables language switching based on user selection. This allows the Webflow site to serve content in different languages, improving accessibility for a global audience. When Weglot initializes, it checks the current language and sets up appropriate event listeners on language links to enable smooth switching between languages.

How does the code handle language switching for multiple wrapper instances in Webflow using Weglot?

The code contains multiple instances where it initializes Weglot and sets up event listeners for language elements within different wrappers (e.g., .sw1, .sw2, etc.). Each block of code effectively checks for the active language and binds click events to language links. When a language link is clicked, it stops the default browser action and uses the Weglot API to switch to the desired language after a short delay. This approach allows different sections of the Webflow site to manage their language settings independently while maintaining a cohesive multilingual experience.

What is the purpose of the updateSWXDropdownLinks functions in this code?

The updateSWXDropdownLinks functions (where X is the wrapper number) are designed to update the dropdown toggle text and language attribute when the user switches languages. This ensures that the language selector reflects the active language correctly after a change. Each function accesses the appropriate .wg-element-wrapper based on its number, checks whether the currently displayed language matches the user's selection, and updates the dropdown accordingly. This enhances user experience by ensuring that the interface reflects the selected language in real-time on Webflow sites.

Why is the use of setTimeout necessary when switching languages in this JavaScript code?

The setTimeout function is used to create a delay before executing the Weglot.switchTo() function. This delay allows any necessary UI updates or animations to complete before the language switch occurs, ensuring a smoother transition for the user. Delays like this can help prevent issues like flickering or unresponsiveness that may occur if the language switch is executed too quickly after a click action. This is particularly important in user interfaces built with Webflow, where visual clarity is key to maintaining user engagement.

Embed badge
similar cloneables
New
Flipping card on Hover component Webflow cloneable
Enhance user engagement with this Flipping Card Component Webflow cloneable by SketchzLab. Perfect for FAQs, team bios, or project highlights, it adds interactivity and visual appeal. Enjoy clean CSS, optimized layout, and custom fonts for a seamless user experience. Elevate your site with this interactive element today!
New
Accordion with Rich Text + Images Webflow cloneable
Enhance content presentation with the Accordion with Rich Text + Images Webflow cloneable. Create expandable sections with custom fonts, animations, and intuitive user experience. Elevate your design and engage visitors seamlessly with this versatile and functional tool.
New
Carbon Design UI Styleguide Webflow cloneable
Discover the versatile Carbon Design System Webflow cloneable by CJ Hersh. Elevate your web projects with a plethora of user-friendly UI components like Buttons, Checkboxes, Accordions, and more. Enhance user experience with structured accessibility features and customizable design elements for seamless integration. Ideal for creating professional and interactive websites.
New
Sticky Horizontal Scrolling Container Webflow cloneable
Discover the Sticky Horizontal Scrolling Container Webflow cloneable by SketchzLab. Showcase timelines and milestones with ease using this seamless combination of sticky positioning and horizontal scrolling. Elevate your project with a visually compelling design and a user-friendly interface for a more immersive web experience.
New
Monthly Annual Pricing Toggle Webflow cloneable
Enhance your website with the Monthly Annual Pricing Toggle Webflow Cloneable. Effortlessly display subscription options and boost conversions with this user-friendly pricing table. Customizable and easy to integrate, this cloneable template saves time while providing a sleek design to attract potential subscribers.
New
GSAP Scroll-triggered animation Webflow cloneable
Enhance web interactivity with a scroll-triggered animation Webflow cloneable. Crafted by Timothy Ricks, this tool utilizes GSAP and ScrollTrigger for smooth transitions that dynamically respond to scrolling behavior. Engage visitors, highlight key content, and customize effects for a unique browsing experience. Elevate your site's interactivity and create a compelling online presence.
New
Double Slider Webflow cloneable
Enhance your website's interactivity with a custom Travel Destination Double Slider Webflow Cloneable. Engage users with two sliders showcasing various destinations like Japan and Italy. Easily customizable for travel agencies or bloggers seeking to captivate visitors.
New
3D Spiral Menu Webflow cloneable
Elevate your website with the MM—012 3D Spiral Menu Webflow cloneable. Enhance navigation with a visually striking 3D spiral menu that simplifies exploration and engagement. Utilize native Webflow interactions for seamless functionality on all devices.
similar cloneables