Simple Language Switcher

4 5

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. Screenshot

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

  1. Download the latest release from the GitHub Releases page or Notwp.org Repo
  2. Upload the ZIP file through WordPress plugin installer, or extract to /wp-content/plugins/
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Ensure Polylang is installed and activated

Usage

  1. Add the Shortcode: Use the [translated_links] shortcode in your posts, pages, or widgets where you want the language switcher to appear.

  2. 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)
  3. 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.
  4. 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)
  5. 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 releases for this plugin.

  • 1.9-RC1 - 1.9 RC1 / Dec 25th, 2024
    SHA256 hash:
    9168c2f64bf0c8da4c4462f2c46375c926849a8bb48e6523b3b856ea31d6ddcc
  • 1.9-RC - 1.9 RC / Dec 25th, 2024
    SHA256 hash:
    e46b8c8cb53cd9992dcc662bb81b964b22d586360b2254cd3270425041c1dbbb

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

Dec 25th, 2024
Download 1.9-RC1
SHA-256 hash:
9168c2f64bf0c8da4c4462f2c46375c926849a8bb48e6523b3b856ea31d6ddcc

Github Repository

This project is located on Github in the repository qasedak/simple-language-switcher.

Star Support Project