-
Notifications
You must be signed in to change notification settings - Fork 905
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
Getting LCID doesn't work properly with the built-in PowerShell Host #741
Comments
FYI @shiftkey |
I think I know what this is. |
I think I have this fixed, but I'm going to need some help getting it validated. |
@ferventcoder is there anything I can help with? |
Possibly - I think I have a way to verify this though, I spoke a little too soon! I will keep you in the loop if I run into issues! |
When using the built-in posh host, the culture information that is returned should be the user's culture info, so that gathering the LCID for language settings in packages works appropriately. Without this fix, everyone will be given the invariant culture (127), which could cause problems across every package that detects locale.
Yup, good to go. |
Pushed a new version of the beta with just this change - should be available in the next two hours - if you need to get it before then, use |
$LCID = (Get-Culture).LCID
does not appear to produce the proper LCID for a package when running under the PowerShell Internal Host.The BeyondCompare package is a good one to test.
The text was updated successfully, but these errors were encountered: