public function replaceHints()
    {
        foreach ($this->hints as $namespace => $path) {
            $path = $this->getLangPath($namespace);
            if (!is_dir($path)) {
                continue;
            }
            $this->hints[$namespace] = $path;
        }
        return;
    }