public function lists(): array
    {
        $data = [];
        foreach (array_keys($this->words) as $key) {
            $data[$key] = $this->trans($key);
        }

        return $data;
    }
public function lists(): array
    {
        $data = [];
        foreach (array_keys($this->words) as $key) {
            $data[$key] = $this->trans($key);
        }

        return $data;
    }
public function lists ( ) : array { $ data = [ ] ; foreach ( array_keys ( $ this -> words ) as $ key ) { $ data [ $ key ] = $ this -> trans ( $ key ) ; } return $ data ; }
Get full list of dictionary with translated words from dictionary.

@return array
Get full list of dictionary with translated words from dictionary .