Skip to content

New-MarkdownCommandHelp doesn't respect -Locale #763

@Gijsreyn

Description

@Gijsreyn

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

When using the New-MarkdownCommandHelp, the docs state the following:

This parameter allows you to specify the language locale for the help files. By default, the cmdlet uses the current CultureInfo.

When I now create a new Markdown file using the command and specify the -Locale different from the default, it is not being respected.

Expected behavior

Locale metadata is added with the specified `-Locale`

Actual behavior

It always grabs the default

Error details

Environment data

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

Version

1.0.0-preview5

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LocalizationIssue is about Localization supportIssue-BugIssue has been identified as a bug in the product

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions