Simple Language Switcher
Simple Language Switcher
Description
Simple Language Switcher is a lightweight WordPress plugin that provides a clean, modal-style language selection popup. It is designed to work seamlessly with the Polylang plugin, allowing users to switch between different languages on your website with ease and it adds some advanced features so using Polylang would be easier.
Features
- Lightweight and fast
- Modern popup interface (using shortcodes for now)
- Seamless Polylang integration
- Translatable strings across languages through Polylang using Gutenberg block or shortcodes
- Translatable popup title and author display name
- Customizable display options
- RTL language support
Installation
- Download the latest release from the GitHub Releases page or Notwp.org Repo
- Upload the ZIP file through WordPress plugin installer, or extract to
/wp-content/plugins/
- Activate the plugin through the 'Plugins' menu in WordPress
- Ensure Polylang is installed and activated
Usage
-
Add the Shortcode: Use the
[translated_links]
shortcode in your posts, pages, or widgets where you want the language switcher to appear. -
Add Translatable Strings:
- Use the Gutenberg block "Translatable String" to add translatable strings. (Recommended)
- Use the shortcode format [SLS-{identifier}] to display the translated string. (For old themes)
-
Configure Settings:
- Go to Settings > Language Switcher > Display settings to customize:
- Show/hide country flags
- Show/hide language names
- Hide current language from the list
- Hide languages without translations
- Disable/Enable shortcodes
- Go to Languages > Translations to translate the popup title, author display name and translatable strings.
- Go to Settings > Translatable Strings to add translatable strings.
- Go to Settings > Language Switcher > Display settings to customize:
-
Customize Appearance: You can customize the appearance of the language switcher through:
- The plugin settings page for display options
- Your theme's CSS for advanced styling (UI Customizer will be available soon)
-
RTL Support: The plugin automatically supports right-to-left (RTL) languages and adjusts its layout accordingly.
Note: Make sure Polylang is properly configured with your desired languages before using this plugin.
Requirements
- WordPress 5.0 or higher
- Polylang plugin
License
This plugin is licensed under the GPLv3.
Support
For support, please contact me [email protected].
The following is a list of the most recent issues for this plugin.
Hash Verification
ZIP files downloaded via this site have an associated SHA256 hash.
Mac
On Mac, you can use the sha256 command to calculate the hash of a downloaded ZIP file. Open terminal and execute:
sha256 [filename]
Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.
Linux
On Linux, you can use the sha256sum command to calculate the hash of a downloaded ZIP file. From a shell, execute:
sha256sum [filename]
Where [filename] is the name of the ZIP file. If the hash matches the one on the website, the ZIP file is genuine.
Latest Release
The latest official release is below.
1.9 RC1
Download 1.9-RC19168c2f64bf0c8da4c4462f2c46375c926849a8bb48e6523b3b856ea31d6ddcc
Github Repository
This project is located on Github in the repository qasedak/simple-language-switcher.
Star Support Project