Am I building MSLS correctly? #235
-
I can't seem to find any docs explaining how to build Multisite-Language-Switcher locally. I'm not a PHP developer but I've looked through the project and got it working with a lot of help from ChatGPT. This is what I recall doing so far:
Run:
Run:
The last command generates the plugin and a .zip of the plugin. It looks like npm is only required to generate JavaScript, CSS and documentation assuming that's what In Incidentally if I run |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry for the late answer. To be honest, I never opened the discussion tab before. The current version can be found here: https://wordpress.org/plugins/multisite-language-switcher/ If you use the plugin in an environment where you have the repository installed, then you would just call:
I use PHPStan to improve steadily the code quality. Errors are expected in this case. |
Beta Was this translation helpful? Give feedback.
Sorry for the late answer. To be honest, I never opened the discussion tab before.
The current version can be found here: https://wordpress.org/plugins/multisite-language-switcher/
If you use the plugin in an environment where you have the repository installed, then you would just call:
composer install --no-dev
I use PHPStan to improve steadily the code quality. Errors are expected in this case.