The above artisan command is failing on Windows because the cleanLocaleDir function in /src/Console/Commands/FetchCommand.php is looking for a forward slash, as opposed to a backslash.
To get my local copy to work, I changed:
protected function cleanLocaleDir($item) {
return str_replace($this->lang_path.'/', '', $item);
}
to
protected function cleanLocaleDir($item) {
return str_replace($this->lang_path.'\\', '', $item);
}
...but you may want to create a more robust solution?
Thanks for the handy tool though. Much appreciated!
The above artisan command is failing on Windows because the cleanLocaleDir function in /src/Console/Commands/FetchCommand.php is looking for a forward slash, as opposed to a backslash.
To get my local copy to work, I changed:
to
...but you may want to create a more robust solution?
Thanks for the handy tool though. Much appreciated!