Skip to content

Unable to get help files for cultures other than en-US #6217

Closed

Description

@massimonewsuk

Steps to reproduce

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?

See this related issue: #5534

Activity

  1. added
    Issue-Question
    WG-Interactive-HelpSystem
    on Feb 22, 2018
  2. adityapatwardhan commented on Feb 22, 2018

    @adityapatwardhan
    Member

    massimonewsuk Thanks for the feedback. If the help locale is not found, it should fallback to en-US automatically.

  3. SteveL-MSFT commented on Feb 23, 2018

    @SteveL-MSFT
    Member

    If the fallback isn't working, that should be fixed.

  4. massimonewsuk commented on Sep 6, 2018

    @massimonewsuk
    Author

    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
    
  5. gmckeown commented on Apr 11, 2019

    @gmckeown

    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.

  6. 30 remaining items

  7. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    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.

  8. added
    Resolution-No Activity
    on Nov 16, 2023
  9. microsoft-github-policy-service commented on Nov 16, 2023

    @microsoft-github-policy-service
    Contributor

    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.

  10. 0009-0009-1013-986X commented on Nov 16, 2023

    @0009-0009-1013-986X

    #6217 (comment)

    Aditya Patwardhan (@adityapatwardhan), I reckon that next week has elapsed.

  11. added
    Resolution-Fixed
    and removed
    Resolution-No Activity
    on Nov 17, 2023
  12. sdwheeler commented on Nov 17, 2023

    @sdwheeler
    Contributor
  13. 0009-0009-1013-986X commented on Nov 17, 2023

    @0009-0009-1013-986X

    #6217 (comment)

    Can we consider close this as complete, then, Sean Wheeler (@sdwheeler)?

  14. sdwheeler commented on Nov 17, 2023

    @sdwheeler
    Contributor

    @RokeJulianLockhart That is how I labeled the issue. The bot will close it.

  15. microsoft-github-policy-service commented on Nov 18, 2023

    @microsoft-github-policy-service
    Contributor

    This issue has been marked as fixed and has not had any activity for 1 day. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugResolution-FixedWG-Interactive-HelpSystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions