diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b95a85..7f42431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Added a default value of `en-US` to the `DefaultUICulture` parameter of the `Get-LocalizedData` function + [Issue #33](https://github.com/dsccommunity/DscResource.Common/issues/33). + ## [0.7.1] - 2020-05-02 ### Fixed diff --git a/source/Public/Get-LocalizedData.ps1 b/source/Public/Get-LocalizedData.ps1 index 16dbf4c..39fb820 100644 --- a/source/Public/Get-LocalizedData.ps1 +++ b/source/Public/Get-LocalizedData.ps1 @@ -139,7 +139,7 @@ #> function Get-LocalizedData { - [CmdletBinding()] + [CmdletBinding(DefaultParameterSetName = 'DefaultUICulture')] param ( [Parameter(Position = 0)] @@ -166,7 +166,7 @@ function Get-LocalizedData [Parameter(Position = 1, ParameterSetName = 'DefaultUICulture')] [System.String] - $DefaultUICulture + $DefaultUICulture = 'en-US' ) begin