Skip to content

LanguagePrimitives.ErrorStrings messages depends on culture #166

Closed

Description

@enricosada

LanguagePrimitives.ErrorString ( used for example in exception thrown from Seq.min [] ) are not using current ui culture.

repro:

    try
        Seq.min []
    with e -> 
        printfn "%A" e //use default currentUICulture of process

    // change culture now
    System.Threading.Thread.CurrentThread.CurrentUICulture <- new CultureInfo("it-IT")

    try
        Seq.min []
    with e -> 
        printfn "%A" e // e message is wrong, because is not of 'it-IT' culture

fixed by #141

Activity

  1. latkin commented on Jan 28, 2015

    @latkin
    Contributor

    I already created/closed #159 for this 😄

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions