{"repo":"wp-cli/i18n-command","free":true,"listed":false,"github":"https://github.com/wp-cli/i18n-command","clone":"git clone https://github.com/wp-cli/i18n-command.git","description":"Provides internationalization tools for WordPress projects.","language":"Gherkin","stars":120,"topics":["wp-cli","wp-cli-package","wordpress","i18n","pot","translation","localization","cli","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"wp-cli/i18n-command =================== Provides internationalization tools for WordPress projects. Quick links: Using Installing Contributing Support Using This package implements the following commands: wp i18n Provides internationalization tools for WordPress projects. wp i18n EXAMPLES # Create a POT file for the WordPress plugin/theme in the current directory $ wp i18n make-pot . languages/my-plugin.pot wp i18n audit Audit strings in a project. wp i18n audit [--slug= ] [--domain= ] [--ignore-domain] [--include= ] [--exclude= ] [--skip-js] [--skip-php] [--skip-blade] [--skip-block-json] [--skip-theme-json] [--format= ] Scans PHP, Blade-PHP and JavaScript files for translatable strings to find possible mistakes. OPTIONS Directory to scan for string extraction. [--slug= ] Plugin or theme slug. Defaults to the source directory's basename. [--domain= ] Text domain to look for in the source code, unless the --ignore-domain option is used. By default, the \"Text Domain\" header of the plugin or theme is used. If none is provided, it falls back to the project slug. [--ignore-domain] Ignore the text domain completely and extract strings with any text domain. [--include= ] Comma-separated list of files and paths that should be used for string extraction. If provided, only these files and folders will be taken into account. [--exclude= ] Comma-separated list of files and paths that should be ignored for string extraction. For example, --exclude=.github,myfile.php would ignore any stri","default_branch":null,"files":null,"tree":[],"storefront":"/r/wp-cli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wp-cli/i18n-command/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."}