-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locale must be of the form <language> or <language>-<territory> #16492
Comments
As a workaround, set the <PropertyGroup>
<PreferredUILang>en-us</PreferredUILang>
</PropertyGroup> |
Can confirm also happens when using TypeScript 2.2 |
What OS and VS versions are you using? Have you customized your language settings somehow? |
Win 10 Creators Update with VS2017 (15.2 - 26430.16) Release. Customized language settings? That's the weird part, I work in latin america, but all my dev is in english, my keyboard is dvorak-spanish, does that count? |
bs-Latn-BA = Bosnian (Bosnia and Herzegovina, Latin) (Bosnian in the Latin alphabet as opposed to Cyrillic) for what it's worth we should be able to parse locales like this. |
@hmendozap Are you still running into this? Do you have a build log you can share? |
I don't have enough details to make progress on this. As far as I can tell the locale passed into tsc.exe has to be one of the supported VS display languages, which this isn't one of. Without a project file / build log I'm not going to be able to understand where this string came from. Closing the issue. |
TypeScript Version: 2.3
When I try to publish web site from VS2017 I get following error:
In output window there is this line:
I didn't set --locale anywhere, it was set either by operating system or visual studio.
Edit: Probably not important for this, but if I publish to folder, instead of web deploy, VS2017 will publish it with locale en-US.
The text was updated successfully, but these errors were encountered: