Language Switcher for
TransposhA professional, highly customizable language switcher for Transposh.
Requires Transposh Translation Filter plugin to be installed.

IMPORTANT: READ BEFORE INSTALLING
Language Switcher for Transposh (LSfT) is not a translation engine. It is an advanced styling and integration tool that provides a beautiful, customizable interface for the Transposh Translation Filter plugin.

LSfT REQUIRES TRANSPOSH TO WORK. It will not translate your content on its own and cannot be activated unless Transposh is already installed and active.

How to get started:

First: Download, install, and activate Transposh Translation Filter. Configure your languages in the Transposh settings.

Second: Install and activate Language Switcher for Transposh. You can now choose how to display your flags and language names.

Main Features

Integrated CSS Editor (New in 2.0): Customize the switcher’s appearance directly from the admin panel with a professional code editor (CodeMirror).
Safe Customization: Experiment with confidence! If something goes wrong with your custom styles, you can always restore the original plugin stylesheet with a single click.
Fast & Smart Loading: Your custom styles are saved in the database for maximum performance, while keeping the original files untouched as a secure backup.
Flexbox Powered: Modernized layout for perfect vertical and horizontal alignment in any theme.
Automode: Automatically inject the switcher into your primary or selected WordPress menu.
Shortcodes & Widgets: Full support for Shortcodes and Legacy Widgets, compatible with Classic and Block-based themes.
Admin Tools: Adds an “Edit Translation” button for authorized roles (Admin, Author, Editor) to quickly toggle the Transposh Editor.

Switcher types

The version 2.0.0 provides 10 distinct switcher styles:

Horizontal: Flags only or Code only.
Vertical: Flags only ir Code only.
Dropdown (Custom JS): Flags only, Text only, Code only or Flags and Text.
Native Select: Lightweight browser-native dropdown: Code only or Text only.

Installation

Ensure Transposh is installed and configured.
Download Language Switcher for Transposh from the WordPress repo
Install and activate the plugin through the ‘Plugins’ menu in WordPress.
Navigate to Settings > LSfT Settings to choose your style.

Frequently Asked Questions

Why isn’t it translating anything?

Please check if Transposh is configured correctly. LSfT only handles the visual switcher. If Transposh is not translating, the issue is likely in the Transposh settings or your Permalinks.

The origin of LSfT

At first, to get that result, I used a couple of useful plugins and just a bit of javascript.

I won’t waste your time here to talk about this: if you’re interested you can find a detailed description here and here.