Skip to content

Commit

Permalink
Fix #142: Sorting in UI is not culture aware
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-englert committed Jun 20, 2018
1 parent bd5b696 commit 1b6021a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ResXManager.View/Visuals/ShellView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Diagnostics.Contracts;
using System.Globalization;
using System.Windows.Markup;

using JetBrains.Annotations;

Expand All @@ -29,6 +31,8 @@ public ShellView([NotNull] ExportProvider exportProvider)
this.SetExportProvider(exportProvider);

InitializeComponent();

Language = XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 1b6021a

Please sign in to comment.