private function loadLocales($inputDir)
    {
        $localeList = array();

        foreach (scandir($inputDir) as $item) {
            if (substr($item, 0, 1) !== '.' && is_dir($inputDir . $item)) {
                if (in_array($item, $this->ignoredLocales)) {
                    // Skip over any ignored locales
                    continue;
                }

                $localeList[] = $item;
            }
        }

        return $localeList;
    }
private function loadLocales($inputDir)
    {
        $localeList = array();

        foreach (scandir($inputDir) as $item) {
            if (substr($item, 0, 1) !== '.' && is_dir($inputDir . $item)) {
                if (in_array($item, $this->ignoredLocales)) {
                    // Skip over any ignored locales
                    continue;
                }

                $localeList[] = $item;
            }
        }

        return $localeList;
    }
private function loadLocales ( $ inputDir ) { $ localeList = array ( ) ; foreach ( scandir ( $ inputDir ) as $ item ) { if ( substr ( $ item , 0 , 1 ) !== '.' && is_dir ( $ inputDir . $ item ) ) { if ( in_array ( $ item , $ this -> ignoredLocales ) ) { // Skip over any ignored locales continue ; } $ localeList [ ] = $ item ; } } return $ localeList ; }
Load Locale list from the source data

@param string $inputDir Input Directory
@return array List of Locales
Load Locale list from the source data