private function process_directory( $dir_list ) {
		$translation_list = array_map(
			function( $e ) {
					return pathinfo( $e, PATHINFO_FILENAME );
			}, $dir_list
		);
		$translation_list = array_unique( $translation_list );

		return $translation_list;
	}
private function process_directory( $dir_list ) {
		$translation_list = array_map(
			function( $e ) {
					return pathinfo( $e, PATHINFO_FILENAME );
			}, $dir_list
		);
		$translation_list = array_unique( $translation_list );

		return $translation_list;
	}
private function process_directory ( $ dir_list ) { $ translation_list = array_map ( function ( $ e ) { return pathinfo ( $ e , PATHINFO_FILENAME ) ; } , $ dir_list ) ; $ translation_list = array_unique ( $ translation_list ) ; return $ translation_list ; }
Returns an array of translations with stripped file extension.

@param array $dir_list Listing of directory contents.

@return array $translation_list An array of translations.
Returns an array of translations with stripped file extension .