private function getSuffixesToTry()
    {
        if ($this->suffixesToTry === null) {
            $this->suffixesToTry = [];

            if (isset($this->conf['salutation'])) {
                if ($this->conf['salutation'] === 'informal') {
                    $this->suffixesToTry[] = '_informal';
                }
                $this->suffixesToTry[] = '_formal';
            }
            $this->suffixesToTry[] = '';
        }

        return $this->suffixesToTry;
    }
private function getSuffixesToTry()
    {
        if ($this->suffixesToTry === null) {
            $this->suffixesToTry = [];

            if (isset($this->conf['salutation'])) {
                if ($this->conf['salutation'] === 'informal') {
                    $this->suffixesToTry[] = '_informal';
                }
                $this->suffixesToTry[] = '_formal';
            }
            $this->suffixesToTry[] = '';
        }

        return $this->suffixesToTry;
    }
private function getSuffixesToTry ( ) { if ( $ this -> suffixesToTry === null ) { $ this -> suffixesToTry = [ ] ; if ( isset ( $ this -> conf [ 'salutation' ] ) ) { if ( $ this -> conf [ 'salutation' ] === 'informal' ) { $ this -> suffixesToTry [ ] = '_informal' ; } $ this -> suffixesToTry [ ] = '_formal' ; } $ this -> suffixesToTry [ ] = '' ; } return $ this -> suffixesToTry ; }
Gets an ordered list of language label suffixes that should be tried to
get localizations in the preferred order of formality.

@return string[] ordered list of suffixes from "", "_formal" and "_informal", will not be empty
Gets an ordered list of language label suffixes that should be tried to get localizations in the preferred order of formality .