René's URL Explorer Experiment


Title: Add a `-UICulture` parameter to Get-Help to view help in a chosen language · Issue #28384 · PowerShell/PowerShell · GitHub

Open Graph Title: Add a `-UICulture` parameter to Get-Help to view help in a chosen language · Issue #28384 · PowerShell/PowerShell

X Title: Add a `-UICulture` parameter to Get-Help to view help in a chosen language · Issue #28384 · PowerShell/PowerShell

Description: Summary of the new feature / enhancement As a user I want to specify the UI culture when running Get-Help, so that I can read help content in the language I choose, independently of my operating system's display language. PowerShell's up...

Open Graph Description: Summary of the new feature / enhancement As a user I want to specify the UI culture when running Get-Help, so that I can read help content in the language I choose, independently of my operating sy...

X Description: Summary of the new feature / enhancement As a user I want to specify the UI culture when running Get-Help, so that I can read help content in the language I choose, independently of my operating sy...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/28384

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a `-UICulture` parameter to Get-Help to view help in a chosen language","articleBody":"### Summary of the new feature / enhancement\n\nAs a user I want to specify the UI culture when running `Get-Help`, so that I can read help content in the language I choose, independently of my operating system's display language.\n\nPowerShell's updatable help is asymmetric today:\n\n- `Update-Help -UICulture \u003cculture>` and `Save-Help -UICulture \u003cculture>` can **install** help content for any culture, side by side (`$PSHOME\\\u003cculture>\\`, `\u003cmodule>\\\u003cculture>\\`).\n- `Get-Help` cannot **view** a specific culture. It always resolves content using the ambient thread UI culture (`CultureInfo.CurrentUICulture`), with the MUI fallback chain `\u003ccurrent> -> parent cultures -> '' -> en-US -> en`.\n\nSo help content a user installed in a second language is unreachable without changing the machine or session culture. Concrete pain points:\n\n1. Users on a non-English OS who prefer English help (or vice versa) have no supported switch. The only workaround is manually setting the whole thread culture (`[System.Threading.Thread]::CurrentThread.CurrentUICulture = 'en-US'`), which mutates the entire runspace, also changes the language of engine error messages, and is per-runspace.\n2. Authors and testers of localized modules or localized `about_*` topics cannot verify their content without switching their environment's culture.\n3. CI cannot exercise localized help in-process.\n\nScope note: comment-based help is single-language by design. `-UICulture` affects file-based help content: MAML XML help shipped by modules or installed via `Update-Help`, culture-specific `about_*` topics, and provider help. For a module that only ships comment-based help, the parameter has no visible effect. When the parameter is omitted, behavior is exactly as today.\n\n### Proposed technical implementation details (optional)\n\n#### Example experience\n\n```powershell\n# OS UI culture is de-DE; English help additionally installed with:\nUpdate-Help -UICulture en-US\n\nGet-Help Get-ChildItem                    # de-DE help (default, unchanged)\nGet-Help Get-ChildItem -UICulture en-US   # en-US help, without touching the session culture\nGet-Help about_Logging -UICulture en-US   # about topics resolve the same way\nGet-Help Get-ChildItem -UICulture nl-NL   # nl-NL not installed -> falls back nl -> en-US -> en,\n                                          # the same fallback chain used today\n```\n\n#### How the language is picked today\n\n```text\nGet-Help cmdlet            (help/HelpCommands.cs, class GetHelpCommand)\n   |\n   v\nHelpRequest                (help/HelpRequest.cs - carries target, category, filters...\n   |                        but NO culture field)\n   v\nHelpSystem / providers     (help/HelpSystem.cs, *HelpProvider.cs)\n   |\n   v\nMUIFileSearcher            (help/MUIFileSearcher.cs - HERE the culture is chosen:\n   |                        reads CultureInfo.CurrentUICulture and searches\n   v                        \u003cculture>\\, parent cultures, '', en-US\\, en\\)\n```\n\nThe language decision happens implicitly, deep inside the engine. There is no way for the caller to influence it.\n\n#### The new parameter\n\nAdded to `GetHelpCommand`, valid in all parameter sets:\n\n```csharp\n/// \u003csummary>\n/// Gets or sets the UI culture of the help content to return.\n/// When not specified, the current UI culture is used (existing behavior).\n/// \u003c/summary>\n[Parameter]\n[ValidateNotNull]\n[Alias(\"Language\")]\npublic CultureInfo UICulture { get; set; }\n```\n\n- Type `System.Globalization.CultureInfo`, matching the existing `-UICulture` parameters of `Update-Help`/`Save-Help`; `'en-US'` strings bind natively.\n- No wildcards (`Update-Help` processes a *set* of cultures for bulk downloads; a single help lookup has no meaningful wildcard semantics).\n- Allowed in remote/restricted sessions: it is a pure content lookup, like `-Name` (unlike `-Online`/`-ShowWindow`).\n- `-Language` works as an alias for discoverability.\n\n#### What changes, and where (all under src/System.Management.Automation/help/)\n\n1. **`HelpCommands.cs`** - `GetHelpCommand` gets the `-UICulture` parameter shown above and copies its value into the `HelpRequest` it already builds.\n2. **`HelpRequest.cs`** - new internal property `CultureInfo RequestedUICulture`. `null` means \"use the ambient culture\", so all existing call sites that build `HelpRequest` directly (e.g. `GetHelpCodeMethods.GetHelpUri`) are unaffected.\n3. **`MUIFileSearcher.cs`** - the static `SearchFiles`/`LocateFile` APIs gain an optional culture argument. The only change to the search itself: the fallback chain is built from the *requested* culture when one is present, otherwise from `CultureInfo.CurrentUICulture` as today. Chain order and the en-US/en fallback stay identical.\n4. **`HelpSystem.cs` + providers** - pass the request's culture down to the file searchers instead of relying on ambient culture.\n5. **`HelpRepository.cs`** - audit that cached help entries are keyed per culture, so a session mixing `Get-Help` calls in different cultures cannot serve stale or mixed-language content (regression test included).\n\nOne rule summarizes the design: **if the request carries a culture, it wins for this one lookup; otherwise nothing changes.**\n\n#### Alternatives considered\n\n- **Temporarily switching `CultureInfo.CurrentUICulture` inside the cmdlet** - smallest diff, but mutating ambient thread state from a cmdlet is unsafe with concurrent/nested pipelines.\n- **A script-level proxy function** - impossible: the culture is read deep inside SMA's help engine, unreachable from script.\n\n#### Tests\n\n`test/powershell/Modules/Microsoft.PowerShell.Utility/Get-Help.Tests.ps1`, with a fixture module shipping a second culture's `about_*` topic (and ideally a small MAML help file):\n\n- requested culture is honored for command help and about topics;\n- fallback still ends in en-US/en when the requested culture is not installed;\n- omitting the parameter behaves identically to today;\n- mixed-culture calls in one session do not cross-contaminate results.\n\n### Related issues\n\n- #26724 - user with a Chinese OS wanting English help; no supported switch exists (closed as a support question, but demonstrates the demand).\n- #6217 - help files for cultures other than en-US.\n- #28274 / #21187 - adjacent HelpSystem caching/discovery issues the implementation must respect.\n\n(A search for an existing feature request for this turned up nothing - closest are the issues above.)\n","author":{"url":"https://github.com/soroshsabz","@type":"Person","name":"soroshsabz"},"datePublished":"2026-11-10T10:40:11Z","url":"https://github.com/PowerShell/PowerShell/issues/28384"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3684f451-5ee0-c895-f886-ece3570873c9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9D42:3FEEFA:6A171:92083:6AFCE835
html-safe-nonce3ceb952ba5720181417629c0ac0c90bf4412d988e918d18b3daa4fd0660a8692
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDQyOjNGRUVGQTo2QTE3MTo5MjA4Mzo2QUZDRTgzNSIsInZpc2l0b3JfaWQiOiI1MzI1NjA0OTExNjE2NjgyMDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac37807d0e600311a45e8c1069e29b643251da4a7154ea16a82b31377264351354
hovercard-subject-tagissue:6305163698
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/28384/issue_layout
twitter:imagehttps://opengraph.githubassets.com/04f3420ffacb2e1f1e012ba16374e4595a0ea98d85b2e8954544061f4df5d82a/PowerShell/PowerShell/issues/28384
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04f3420ffacb2e1f1e012ba16374e4595a0ea98d85b2e8954544061f4df5d82a/PowerShell/PowerShell/issues/28384
og:image:altSummary of the new feature / enhancement As a user I want to specify the UI culture when running Get-Help, so that I can read help content in the language I choose, independently of my operating sy...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesoroshsabz
hostnamegithub.com
expected-hostnamegithub.com
None99aede4c5f55ec5cf06666a8c9e03ebf9f85f7231223e7f1c38c16e5504835b3
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseecfd63ca125ec74b42f74eeb158b3fa081c8c497
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/28384#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F28384
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F28384
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/28384
Reloadhttps://github.com/PowerShell/PowerShell/issues/28384
Reloadhttps://github.com/PowerShell/PowerShell/issues/28384
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests364 (364)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28384
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28384
Add a -UICulture parameter to Get-Help to view help in a chosen languagehttps://github.com/PowerShell/PowerShell/issues/28384#top
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
https://github.com/soroshsabz
soroshsabzhttps://github.com/soroshsabz
on Nov 10, 2026https://github.com/PowerShell/PowerShell/issues/28384#issue-6305163698
7.5.4 ZIP version: Windows Chinese, but how to adjust the Chinese and English in powershell? #26724https://github.com/PowerShell/PowerShell/issues/26724
Unable to get help files for cultures other than en-US #6217https://github.com/PowerShell/PowerShell/issues/6217
Get-Help keeps returning help it already loaded after Update-Help -Scope CurrentUser, which makes HelpSystem.Tests.ps1 flaky when $PSHOME has help #28274https://github.com/PowerShell/PowerShell/issues/28274
Linux Get-Help does not find CurrentUser Update-Help topics, only AllUsers #21187https://github.com/PowerShell/PowerShell/issues/21187
soroshsabzhttps://github.com/soroshsabz
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
on Nov 10, 2026https://github.com/PowerShell/PowerShell/issues/28384#event-35670735768
soroshsabzhttps://github.com/soroshsabz
on Nov 10, 2026https://github.com/PowerShell/PowerShell/issues/28384#event-35670892535
soroshsabzhttps://github.com/soroshsabz
on Nov 10, 2026https://github.com/PowerShell/PowerShell/issues/28384#event-35670916529
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/28384
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28384
Issue-Enhancementthe issue is more of a feature request than a bughttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
Needs-TriageThe issue is new and needs to be triaged by a work group.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Needs-Triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.