You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to get help files for cultures other than en-US #6217
Install Powershell Core (latest build) on a machine whose UI Culture is set to something other than en-US... In my case it's en-GB.
Run Update-Help from an administrator command prompt. Then try getting help on a basic command like help Update-Help -full. It will tell you that the help files aren't installed.
Expected behavior
Help files should be installed.
Actual behavior
Help files don't get installed.
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 6.0.1
PSEdition Core
GitCommitId v6.0.1
OS Microsoft Windows 10.0.16299
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
I have worked around this by doing Update-Help -UICulture en-US, but I shouldn't have to do this. This command worked fine in Windows PowerShell.
One of the most amazing things about PowerShell is the rich help system. But if it doesn't work for a huge amount of users (anyone not in the US) then what's the point?
Just a reminder, this is still an issue with 6.0.4. Check the following output:
PS C:\Users\Test> update-help
update-help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Core' with UI culture(s) {en-GB} : One or more errors occurred. (A task was canceled.)
At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
Activity
adityapatwardhan commentedon Feb 22, 2018
massimonewsuk Thanks for the feedback. If the help locale is not found, it should fallback to en-US automatically.
SteveL-MSFT commentedon Feb 23, 2018
If the fallback isn't working, that should be fixed.
massimonewsuk commentedon Sep 6, 2018
Just a reminder, this is still an issue with 6.0.4. Check the following output:
gmckeown commentedon Apr 11, 2019
Seeing this issue on 6.2.0 on Ubuntu 18.04 on a system set to en_GB. Worked around with the UICulture parameter mentioned above.
30 remaining items
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
0009-0009-1013-986X commentedon Nov 16, 2023
Aditya Patwardhan (@adityapatwardhan), I reckon that next week has elapsed.
sdwheeler commentedon Nov 17, 2023
The following changes have been made in PowerShell 7.4.
Update-Helpthrow proper error when current culture is not associated with a language #197650009-0009-1013-986X commentedon Nov 17, 2023
Can we consider close this as complete, then, Sean Wheeler (@sdwheeler)?
sdwheeler commentedon Nov 17, 2023
@RokeJulianLockhart That is how I labeled the issue. The bot will close it.
microsoft-github-policy-service commentedon Nov 18, 2023
This issue has been marked as fixed and has not had any activity for 1 day. It has been closed for housekeeping purposes.