Like i said before, I didn't notice too many windows only issues with shops i've created.
So I guess we can handle each bug at the time.
I was able to make the translations work on windows.
Tell me what you think.
Original function:
```
public static function getEmailHTML($email)
{
if (defined('PSHOSTMODE') && strpos($email, PSMAILDIR) !== false) {
$emailFile = $email;
} elseif (PSBASEURI != '/') {
$emailFile = strreplace(PS_BASE_URI, '', _PSROOTDIR.'/').$email;
} else {
$emailFile = PSROOTDIR.$email;
}
$emailHtml = file_get_contents($emailFile);
return $emailHtml;
}
```
New function:
```
public static function getEmailHTML($email)
{
if (defined('PSHOSTMODE') && strpos($email, PSMAILDIR) !== false) {
$emailFile = $email;
} elseif (PSBASEURI != DIRECTORYSEPARATOR) {
$emailFile = strreplace(strreplace('/', DIRECTORYSEPARATOR, PSBASEURI), '', PSROOTDIR.DIRECTORYSEPARATOR).$email;
} else {
$emailFile = _PSROOTDIR.$email;
}
if (file_exists($emailFile)) {
$emailHtml = file_get_contents($emailFile);
} else {
$emailHtml = '';
}
return $emailHtml;
}
```