private function getRelativePath(string $domain, string $locale): string
    {
        return strtr($this->relativePathTemplate, [
            '%domain%' => $domain,
            '%locale%' => $locale,
            '%extension%' => $this->getExtension(),
        ]);
    }
private function getRelativePath(string $domain, string $locale): string
    {
        return strtr($this->relativePathTemplate, [
            '%domain%' => $domain,
            '%locale%' => $locale,
            '%extension%' => $this->getExtension(),
        ]);
    }
private function getRelativePath ( string $ domain , string $ locale ) : string { return strtr ( $ this -> relativePathTemplate , [ '%domain%' => $ domain , '%locale%' => $ locale , '%extension%' => $ this -> getExtension ( ) , ] ) ; }
Gets the relative file path using the template.
Gets the relative file path using the template .