Skip to content

Translator.Culture should allow setting neutral language #89

@Anlo2846

Description

@Anlo2846

When a .csproj has a neutral language set, for example:

<NeutralLanguage>en</NeutralLanguage>

and the following assignment is executed:

Translator.Culture = CultureInfo.GetCultureInfo("en");

the following exception is thrown:

System.ArgumentException : Can only set culture to an existing culture.
Check the property Cultures for a list of valid cultures.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions