private void TranslationComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) {
e.Handled = true;
if (this.IsLoaded) {
Utilities.SetRegistryValue("Locale", ((TranslationComboBoxItem)e.AddedItems[0]).LocaleCode);
((App)Application.Current).SelectCulture(((TranslationComboBoxItem)e.AddedItems[0]).LocaleCode);
if (_ShellListView.CurrentFolder.Parent.ParsingName == KnownFolders.Libraries.ParsingName) {
btnCreateFolder.Header = FindResource("btnNewLibraryCP"); //"New Library";
stNewFolder.Title = FindResource("btnNewLibraryCP").ToString(); //"New Library";
stNewFolder.Text = "Creates a new library in the current folder.";
} else {
btnCreateFolder.Header = FindResource("btnNewFolderCP"); //"New Folder";
stNewFolder.Title = FindResource("btnNewFolderCP").ToString(); //"New Folder";
stNewFolder.Text = "Creates a new folder in the current folder";
}
}
}