Set the database table prefix. Default: 'wp_'
+* `--locale`=<locale>:
+
+ Set the WPLANG constant. Defaults to $wp_local_package variable.
+
* `--extra-php`:
If set, the command reads additional PHP code from STDIN.
## EXAMPLES
# Standard wp-config.php file
- wp core config --dbname=testing --dbuser=wp --dbpass=securepswd
+ wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --locale=ro_RO
# Enable WP_DEBUG and WP_DEBUG_LOG
wp core config --dbname=testing --dbuser=wp --dbpass=securepswd --extra-php <<PHP
/**
* Set up a wp-config.php file.
*
- * @synopsis --dbname=<name> --dbuser=<user> [--dbpass=<password>] [--dbhost=<host>] [--dbprefix=<prefix>] [--extra-php]
+ * @synopsis --dbname=<name> --dbuser=<user> [--dbpass=<password>] [--dbhost=<host>] [--dbprefix=<prefix>] [--locale=<locale>] [--extra-php]
*/
public function config( $_, $assoc_args ) {
if ( Utils\locate_wp_config() ) {