First install composer: https://getcomposer.org/download/
Then initialize it in the project folder:
composer install
composer dump-autoload
This project is based on the Node version specified in the .nvmrc file. If you use a different version and commit a reformatted package.json, you will be punished.
Look up Node Version Manager (nvm) to see how to use it.
Translation files are generated by the wp-cli bundle, specifically the "wp-cli i18n" command. The translation domain for all strings is "mega-forms-local-captcha". Install wp-cli via composer:
composer install
Then, run
make pot
to generate a master file with all of the language definitions. You can use PoEdit to create .po and .mo files with your translations and put them into the languages directory.
The CSS of this plugin is generated by sass. scss/main.scss is compiled into css/main.css.
The intended way to build this is to use sass included by npm:
npm run build-css
Make sure zip is installed:
sudo apt install zip
Then run:
make release
and you will get an unbloated mega-forms-local-captcha.zip that you can install in WordPress.