protected function get_installed_languages( $slug = 'default' ) {
		$available   = wp_get_installed_translations( $this->obj_type );
		$available   = ! empty( $available[ $slug ] ) ? array_keys( $available[ $slug ] ) : array();
		$available[] = 'en_US';

		return $available;
	}
protected function get_installed_languages( $slug = 'default' ) {
		$available   = wp_get_installed_translations( $this->obj_type );
		$available   = ! empty( $available[ $slug ] ) ? array_keys( $available[ $slug ] ) : array();
		$available[] = 'en_US';

		return $available;
	}
protected function get_installed_languages ( $ slug = 'default' ) { $ available = wp_get_installed_translations ( $ this -> obj_type ) ; $ available = ! empty ( $ available [ $ slug ] ) ? array_keys ( $ available [ $ slug ] ) : array ( ) ; $ available [ ] = 'en_US' ; return $ available ; }
Return a list of installed languages.

@param string $slug Optional. Plugin or theme slug. Defaults to 'default' for core.

@return array
Return a list of installed languages .