Language Switcher for Transposh

Description

Transposh is a great plugin to build multi-language websites but it doesn’t offers many options to customize the way website visitors can switch language.

Language Switcher for Transposh allows you to get a nice, highly customizable language switcher to use alongiside Transposh.

Language Switcher for Transposh does the following things:

  • it reads Transposh settings and gets the list of languages used in the current website
  • it reads all menu locations available in the current theme and allows you to choose where the language switcher will show up through simple checkboxes
  • it allows you to add at the end of the chosen menu(s) a series of flags or a dropdown menu to select the language; Administrators, Authors and Editors will see an Edit translation button too which will allow them to activate the Transposh Translation Editor
  • if you choose to use only flags, it allows you to choose between Transposh flags or flags provided by Language Switcher for Transposh itself
  • if you choose to use a dropdown you can choose if using a select or an unordered list to build your dropdown: I added this option because unordered list give you much more options to customize their look and feel than a select
  • 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 allows you set additional classes for your language switcher menu items: 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 totally customize your language switcher using a css editor with syntax highlighting: current stylesheet is loaded in the editor and you can just modify it and then save it or you can even create a totally new css file. with a custom name (it defaults to custom.css)

    Notice: in orer 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.

Installation

Dashboard Method:

  1. Login to your WordPress admin and go to Plugins > Add New
  2. Type “Better Search Replace” in the search bar and select this plugin
  3. Click “Install”, and then “Activate Plugin”

Upload Method:

  1. Unzip the plugin and upload the “better-search-replace” folder to your ‘wp-content/plugins’ directory
  2. Activate the plugin through the Plugins menu in WordPress

And you’re done!

FAQ

Can I use Language Switcher for Transposh without using Transpoh?

No. This plugin is just a small improvement of a little part of Transposh and can’t be used without it.

Reviews

18 1832 August 1832 000000 2021
Already the Transposh translator is a standout in making a multi-lingual website. Under the Divi theme, the widget does not work well. But this plugin solves that. It gives us beautiful flags for translation where we need them. Congratulations to Transposh and the developer. Ofer great job and Marco well done. Thank you all
Read all 1 review

Contributors & Developers

“Language Switcher for Transposh” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • This is the first version of this plugin so there is no changelog 🙂

1.0.1

  • Added the options to choose the menu(s) where the language switcher will show up

1.0.2

  • Improved css for menu locations

1.0.3

  • Fixed bug saving custom styles

1.0.4

  • Improved README file, minor bugs fixed

1.0.5

  • Minor bug fixed

1.0.6

  • Fixed menu locations issue which prevented to show the language switcher

1.0.7

  • Fixed a bug managing default language
  • Fixed a bug which prevented to change the dropdown list items depending on the current language
  • Slightly improved the default.css rules for dropdown list (but this is about you depending on the theme in use)

1.0.8

  • Fixed a bug managing used languages

1.0.9

  • Added Settings link in the Plugins list admin page

1.0.10

  • Fixed bug preventing displaying Settings link in the Plugins list admin page

1.0.11

  • Fixed a couple of typos