Skip to content

Commit 9ecf9bf

Browse files
sdwheelerCopilot
andauthored
Fixes #12870 - Add note about fallback to en language (#12872)
* Add note about fallback to `en` language * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6586c86 commit 9ecf9bf

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

reference/7.5/Microsoft.PowerShell.Utility/Import-LocalizedData.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 01/19/2023
5+
ms.date: 03/20/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-localizeddata?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Import-LocalizedData
@@ -379,6 +379,11 @@ parameter.
379379
user messages into the value of the **BindingVariable** parameter in the command. Then, when you
380380
display a message from the hashtable in the variable, the localized message is displayed.
381381

382+
Beginning in PowerShell 7.5.5, the cmdlet falls back to `en-US` and then `en` for any
383+
`<language>-<Region>` when you don't use the **UICulture** parameter. Therefore, if the command
384+
can't find localized data for the current culture (`$PSUICulture`), the search falls back to
385+
`en-US` and then to `en`.
386+
382387
For more information, see
383388
[about_Script_Internationalization](../Microsoft.Powershell.Core/About/about_Script_Internationalization.md).
384389

reference/7.6/Microsoft.PowerShell.Utility/Import-LocalizedData.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 01/19/2023
5+
ms.date: 03/20/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/import-localizeddata?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Import-LocalizedData
@@ -379,6 +379,11 @@ parameter.
379379
user messages into the value of the **BindingVariable** parameter in the command. Then, when you
380380
display a message from the hashtable in the variable, the localized message is displayed.
381381

382+
Beginning in PowerShell 7.5.5, the cmdlet falls back to `en-US` and then `en` for any
383+
`<language>-<Region>` when you don't use the **UICulture** parameter. Therefore, if the command
384+
can't find localized data for the current culture (`$PSUICulture`), the search falls back to
385+
`en-US` and then to `en`.
386+
382387
For more information, see
383388
[about_Script_Internationalization](../Microsoft.Powershell.Core/About/about_Script_Internationalization.md).
384389

reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: What's New in PowerShell 7.6
33
description: New features and changes released in PowerShell 7.6
4-
ms.date: 02/20/2026
4+
ms.date: 03/20/2026
55
---
66

77
# What's New in PowerShell 7.6
@@ -89,6 +89,8 @@ PowerShell 7.6 includes the following updated modules:
8989

9090
## Cmdlet improvements
9191

92+
- Add implicit localization fallback to `Import-LocalizedData` ([#19896][19896]) (Thanks
93+
@chrisdent-de!)
9294
- Add `-Delimiter` parameter to `Get-Clipboard` ([#26572][26572]) (Thanks @MartinGC94!)
9395
- Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation
9496
([#25497][25497]) (Thanks @mawosoft!)
@@ -214,6 +216,7 @@ This release includes the following experimental features:
214216
[18955]: https://github.com/PowerShell/PowerShell/pull/18955
215217
[19440]: https://github.com/PowerShell/PowerShell/pull/19440
216218
[19830]: https://github.com/PowerShell/PowerShell/pull/19830
219+
[19896]: https://github.com/PowerShell/PowerShell/pull/19896
217220
[20017]: https://github.com/PowerShell/PowerShell/pull/20017
218221
[20330]: https://github.com/PowerShell/PowerShell/pull/20330
219222
[20340]: https://github.com/PowerShell/PowerShell/pull/20340

0 commit comments

Comments
 (0)