Language Switcher for Transposh

plugin banner

This plugins adds an alternative language switcher to those website which use Transposh plugins.

Author:Marco Gasi (profile at wordpress.org)
WordPress version required:4.0.1
WordPress version tested:6.5.2
Plugin version:1.6.6
Added to WordPress repository:06-02-2021
Last updated:10-04-2024
Rating, %:100
Rated by:5
Plugin URI:https://codingfix.com/language-switcher-for-t...
Total downloads:36 201
Active installs:700+
plugin download
Click to start download

BE AWARE! Language Switcher for Transposh requires Transposh Translation Filter plugin: LSfT doesn’t translate anything, it just adds an alternative language switcher for your website.
LSfT can’t even be activated if you don’t have installed Transposh plugin. So, you must follow these steps:

first download, install and activate Transposh Translation Filter plugin; I also recommend to setup Transposh choosing the languages you want to use in your website and setting the Transposh options accordingly with your needs;

second: installa and activate Language Switcher for Transposh: it will allow you to get a nice, highly customizable language switcher to use alongiside Transposh.

WARNING! Recently I’ve got serveral issues updating this plugin and trying to fix the new bugs. Now it looks like the users who have installed version 1.5.7 are asked to give a license key. In addition, they can’t receive automatic updates.

Unfortunately, the only way to solve this problem is

  • deactivate version 1.5.7 and uninstall it
  • download version 1.5.8 from the WordPress repository
  • upload the downloaded archive to your server
  • reinstall and reactiavte the plugin

I am very sorry about all this and I apologize again for any problems it may have caused.

Feel free to email me to codingfix-at-codingfix-dot-com if you need help.
I apologize for the inconvenience and for the problems it may have caused.
Thank you for your patience.

What does Language Switcher for Transposh:

  • it gets default language and used languages from Transposh plugin settings

  • it allows you to add as many flags as used languages are; in addition, administrators, authors and editors will see an Edit translation button as last item in the primary menu which will allow them to activate the Transposh Editor

  • it allows you to choose between Transposh flags or flags provided by Language Switcher for Transposh itself

  • it allows you to add to your language switcher menu item all classes you need: this allows you to make it look accordingly to your theme style using the same class your theme is using for navigation menu items

  • it allows you to choose to use just simple flags or a dropdown, and if this is the case, you can choose if using a select or an unordered list to build your dropdown

  • if you use an unordered list as dropdown, you can choose if the list items will show flag only, text only or both flags and text

  • it provides basic stylesheets you can copy and use as a starting point to totally customize your Language Switcher

  • it provides 6 shortcodes to put your language switcher everywhere you want! The shortcodes allow you to use horizontal flags, vertical flags, a native select element, a custom dropdown list with only flags, with only text or with both flags and text.
    With the help of a third plugin (Shortcode in Menus), you can even put a shortcode in your menu – in this case, you’re expected to disable Automode, of course! ????

  • it provides 6 standard widgets to put a language switcher everywhere widgets can be placed: Like the shortcodes, the widgets allow you to use horizontal flags, vertical flags, a native select element, a custom dropdown list with only flags, with only text or with both flags and text.

  • Automode: with Automode set to On, LSFT will append itself to the primary menu (and in ever location you have chosen to put it). If you set Automode to Off, then LSFT will do nothing letting you to se shortcode wherever you can put a shortcode. Obviously, Autocode and shortcodes are reciprocally compatible, so you can use them at the same time.

  • it allos you to set if the user who change the used language has to be redirected to the home page or to the same page he was visiting

An important notice about the FSE themes. LSFT Automode doesn’t work with the new Full Site Editing mode and with themes built this way. So if you use these themes you’ll have to LSFT shortcodes and the block shortcode to add language switcher to your menu.

Avada compatibility For some reason using Avada theme the menu theme_location seems to be empty (even if this doesn’t make sense and I hope to find a fix). In the meantime, if you use Avada Theme Builder, you can install Shortcode in Menus end add LSFT shortcode in your menu using the new option in menu page.

You can download the plugin from the WordPress Plugins Directory.

Remember to dwnload the latest version of Transposh Language Filter from the official website.

(The basic idea for this plugin comes from an article I wrote sometime ago,
How to use a custom language switcher with Transposh to build a multi-language WordPress website)

Notice: in order to avoid ‘Page not found’ issues, be sure to check the option “Rewrite URLs to be search engine friendly, e.g. (http://transposh.org/en). Requires that permalinks will be enabled.” in the Transposh Settings page.


FAQ
ChangeLog