public function activate( $args, $assoc_args ) {
		\WP_CLI::warning( 'This command is deprecated. use wp site switch-language instead' );

		list( $language_code ) = $args;

		$this->activate_language( $language_code );
	}
public function activate( $args, $assoc_args ) {
		\WP_CLI::warning( 'This command is deprecated. use wp site switch-language instead' );

		list( $language_code ) = $args;

		$this->activate_language( $language_code );
	}
public function activate ( $ args , $ assoc_args ) { \ WP_CLI :: warning ( 'This command is deprecated. use wp site switch-language instead' ) ; list ( $ language_code ) = $ args ; $ this -> activate_language ( $ language_code ) ; }
Activates a given language.

## OPTIONS

<language>
: Language code to activate.

## EXAMPLES

$ wp language core activate ja
Success: Language activated.

@subcommand activate
@throws WP_CLI\ExitException
Activates a given language .