Skip to content

gets the strings from wp templates and makes an empty pot file

Notifications You must be signed in to change notification settings

walaura/popotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Popotter

CLI tool that fetches strings from a json file and turns them into a .po file

  • well, it gives you the copypasteable contents

Usage

npm install popotter -g

you can also import it as a library and feed it json strings

const popotter = require('popotter');

const strings = popotter({
	"hello": "Welcome to App™",
	"body": "⚡️ Please have fun using App 🌈"
})
console.log(strings);

About

gets the strings from wp templates and makes an empty pot file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published