Welcome to the Polylang repository on GitHub. Here you can browse the source, discuss open issues and keep track of the development.
If you are not a developer, we recommend to download Polylang from WordPress directory.
Before starting, make sure that you have the following software installed and working on your computer:
- A local WordPress (6.2 or later) instance
- Git to clone the Polylang repository (or your fork of the Polylang repository).
- Node.js which provides NPM. They are both required by Webpack that Polylang uses to build and minify CSS and javascript files. We recommend to install Node.js LTS version.
- Composer because Polylang uses its autoloader to work and it is required to install development tools such as PHP CodeSniffer that ensures your code follows coding standards.
The simplest way is to clone locally this repository and build it directly in your local WordPress instance by following the steps below:
- Go to your local WordPress instance wp-content/plugins/ folder:
cd your/local/wordpress/path/wp-content/plugins
- Clone there the polylang repository (or your fork) from GitHub:
git clone https://github.com/polylang/polylang.git
- Go to your local Polylang clone folder from there:
cd polylang
- Run the composer command:
composer build
- Activate Polylang as if you had installed it from WordPress.org:
See https://wordpress.org/plugins/polylang/#installation
Note: we recommend for Windows users to use Git Bash
provided with Git for Windows instead of the command or powershell terminal.