Skip to content

Translator.Culture should allow setting neutral language #89

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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