TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Gnanavel Sekar
NA
8.4k
7.3m
LocalizeDictionary.DesignCulture is not workingin designtime
May 24 2017 7:17 AM
i have added wpflocalizeextension via NuGet and followed the instructions in the Documentation section. My window looks like this:
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:lex="http://wpflocalizeextension.codeplex.com"
lex:LocalizeDictionary.DesignCulture="en"
lex:ResxLocalizationProvider.DefaultAssembly="WpfApplication12"
lex:ResxLocalizationProvider.DefaultDictionary="Resources"
Title="MainWindow" Height="350" Width="525">
In my Resources.resx file, String1=english
In my Resources.fr.resx file, String=french
I know things are working because in the designer, the button correctly displays "english". When I change lex:LocalizeDictionary.DesignCulture from "en" to "fr", the designer still shows "english" and I expect it to display "french".
Reply
Answers (
0
)
Error in having 2 App.xaml in same solution
Disable a button on show of form in mvvm wpf