Метод | Описание | |
---|---|---|
generateLocale ( string $locale, boolean $clean = true ) : string | Generate the files for a locale | |
getFiles ( ) : |
Get the views translations are in | |
getLocaleFile ( string $locale ) : string | Get the path to a locale's PO file | |
setHeaders ( string $file, $locale ) | Set headers in a PO file |
Метод | Описание | |
---|---|---|
extract ( array $translated ) : TwigExtractor | Get the TwigExtractor instance | |
runGettext ( array $arguments ) : integer | Run gettext with the specified arguments |
public getFiles ( ) : |
||
Результат |
public getLocaleFile ( string $locale ) : string | ||
$locale | string | |
Результат | string |
protected runGettext ( array $arguments ) : integer | ||
$arguments | array | |
Результат | integer |
public setHeaders ( string $file, $locale ) | ||
$file | string |