0.1.1 • Published 6 years ago

laravel-mix-wordpress-translate v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Laravel Mix WP i18n

Generate WordPress translation files from your mix config.

Additionally, if there are .po files present in the output directory they will be JSON-ified for easy getting.

Install

npm install laravel-mix-wordpress-translate --save-dev

yarn add -D laravel-mix-wordpress-translate

Usage

require("laravel-mix-wp-i18n")

mix.i18n(dir, file)

Options

mix.i18n('./lang/', 'trans.pot')
0.1.1

6 years ago

0.1.0

6 years ago