Skip to content

Update error message of Update-Help when culture is C.UTF8 #19633

@adityapatwardhan

Description

@adityapatwardhan

Prerequisites

Steps to reproduce

  1. Install Ubuntu20 with default culture (C.UTF8)
  2. Update-Help

For more details: #18037 (comment)
Related issue: #6217

Expected behavior

Error message saying "Your culture is C.UTF-8, which is a default not associated with any language, consider changing your system culture or install the English-US help content using: Update-Help -UICulture en-US."

Actual behavior

Update-Help: Failed to update Help for the module(s) 'Microsoft.PowerShell.Core' with UI culture(s) {C}:
Unable to retrieve the HelpInfo XML file for UI culture C.
Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again..
English-US help content is available and can be installed using: Update-Help -UICulture en-US.


### Error details

```console
NA

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

NA

Metadata

Metadata

Labels

Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Interactive-HelpSystemhelp infrastructure and formatting of help

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions