{"repo":"wp-blocks/make-pot","free":true,"listed":false,"github":"https://github.com/wp-blocks/make-pot","clone":"git clone https://github.com/wp-blocks/make-pot.git","description":"A node.js module that generates the pot file for your WordPress plugin or theme.","language":"TypeScript","stars":22,"topics":["gettext","i18n","pot","translations","wordpress"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"Make POT make-pot is a Node.js module designed to generate the .pot file for your WordPress plugin or theme. This file serves as the basis for internationalization, allowing translators to localize your plugin or theme into different languages. Extract strings from your WordPress plugin or theme and generate a .pot file. Works with js , jx , ts , tsx , cjs , mjs , php , blade , txt , json with a custom schema for theme and block.json files. Make JSON make-json is a Node.js module designed to convert .po files into JSON format for your WordPress plugin or theme. This conversion facilitates client-side translations and enables your JavaScript code to use the translated strings. Transform your translation files into a JSON format compatible with WordPress i18n package. This module simplifies the process of making your WordPress plugin or theme fully translatable on the frontend. Installation You can install make-pot as a dependecy via npm: or globally Usage Make Pot Example usage: Positional Arguments: - sourceDirectory (optional): Specifies the source directory of your plugin or theme. If not provided, the .pot file root will be the source directory. - destination (optional): Specifies the destination directory where the .pot file will be generated. If not provided, the .pot file will be created in the source directory. Make Pot Options: - --version : Displays the version number of make-pot . - -h , --help : Displays help information. - --slug : Specifies the plugin or theme sl","default_branch":null,"files":null,"tree":[],"storefront":"/r/wp-blocks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wp-blocks/make-pot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}