0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 16:10:43 -05:00

Added edge-case handling of PT locale inside getPlatformForServerLocale()

This commit is contained in:
Chomp 2024-12-01 19:09:49 +00:00
parent 8d5eb3586c
commit 93c34bd189

View File

@ -104,6 +104,11 @@ export class LocaleService {
return languageCode;
}
if (baseNameCode === "pt") {
// Handle edge case of pt
return "pt-pt";
}
this.logger.warning(`Unsupported system language found: ${baseNameCode}, falling back to english`);
return "en";