Weglot language switcher

Integration 4 min read

This integration renders a language switcher in the theme's style, instead of the one Weglot draws itself.

In practice: the switcher looks like part of the header rather than an insert from elsewhere, and behaves the same way on every screen size. Flags and language names come from the same plugin.

A useful side effect: the Weglot switcher stylesheets are removed, so they cannot conflict with the theme.

#What it does not do

The integration does not translate. It does not touch how translation happens or how translated content is displayed.

All of the multilingual work stays with Weglot and is configured there.

Our part is exactly one thing: the switcher.

Translating your site and setting up RTLThree different jobs live under the word "translation", and confusing them is why people get stuck. They are solved separately. Translating interface strings The words the theme and plugins...How-to Guide

#What you need

The Weglot plugin, installed and active. This integration is an overlay on it.

The order: Weglot first, with your languages configured, then our integration.

Weglot is a paid hosted service, and the plugin alone does nothing without an account.

The plugin is the connector; the translations, the languages and the word allowance live in a Weglot account with a plan attached to it. A free tier exists and it is small, so a real site normally ends up on a paid plan. That subscription is between you and Weglot: we do not resell it, and it is not part of any theme license.

Weglot keeps your languages in its own service, so the switcher lists what your account holds.

A language that has not been added in your Weglot account will not appear in the switcher no matter what the site is doing, which is the one thing that makes this different from a plugin storing everything locally. Their setup guide, plans and limits are theirs, and they change without our involvement.

#Where it is configured

This integration has no page in the Integrations block, because there is nothing in it to configure.

Every switcher setting lives where the switcher is rendered, in the theme's navigation settings: the switcher source, the provider, and its position in the header.

The connection to the service is identical across all our themes, and the switcher's placement is different in each one.

#Integrations are part of the theme

This integration is licensed with the theme, not on its own.

Integrations are premium functionality for customers running a Pro license of one of our themes. They are written against our themes and expect them, and we cannot support or take responsibility for what one does inside somebody else's theme. See how theme integrations work.

#Common questions

A language is missing from the switcher

Check your Weglot account rather than the theme, because the switcher lists exactly what Weglot reports and a language missing there is missing here.

Can I use the Weglot switcher instead?

Yes, deactivate this integration and Weglot draws its own again, since the stylesheets we remove come back with it.

Does the theme affect my Weglot word count?

No, translation volume is between you and Weglot and the switcher adds nothing to it.

Do I need a Weglot subscription?

Yes for anything past their free allowance, because Weglot is a hosted service and the translations are produced and served by it rather than by the plugin, so the plan you need is a question for them rather than for us.

The switcher does not appear at all

Check that Weglot is active and that the account holds more than one language, then check the navigation settings where the switcher is enabled and positioned, and if both look right clear any page cache, since a cached header is the usual reason a correct configuration shows nothing.

#Still stuck

Open a support ticket with the languages in your Weglot account and a screenshot of the navigation settings.

Last updated

Was this article helpful?

Related articles

FIND THE ONE THAT FITS YOUR PROJECT

Import a demo, swap the content, adjust the layout. Modern WordPress under the hood, fast even when the site fills up.