Skip to content

kellymears/laravel-mix-wp-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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')

About

Generate WordPress translation files with Laravel Mix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published