English 中文(简体)
Localization in Prism WPF App
原标题:

I m looking for the best way to localize a Prism 2 WPF app that might have several modules ported to Silverlight 3. Has anyone successfully localized a Prism 2 WPF app with several modules?

问题回答

I m solved the same problem by having a static LocalizationManager that is reachable from XAML by a custom markupextension, and that works very well.

Take a look at http://www.wpftutorial.net/LocalizeMarkupExtension.html for an example!

Yes. You have a lot of options and the gamut of them can be found in this excellent article on CodePlex: http://wpflocalization.codeplex.com/

There is very little that is specific to Prism regarding localization.





相关问题
.net Satellite assembly?

How can i create satellite assemblies in .net 3.5? I have a nativetext.resx file in english and want to create assemblies for french and italian in different folders like it --> nativetext.resources....

Access system:string resource dictionary XAML in C#

How do I access the contents in a resource dictionary using C#? For example, here is my code in XAML: <system:String x:Key="NewGroup">New Group Name</system:String> And I want to access ...

Localization in Prism WPF App

I m looking for the best way to localize a Prism 2 WPF app that might have several modules ported to Silverlight 3. Has anyone successfully localized a Prism 2 WPF app with several modules?

page content in multiple languages

I want to display content in more than one languages in a page. For example all menus are in English and content of post in local language (ie. Hindi). Contents on page are stored in database. For ...

Localization problem

I need to make a form that have to suport two languages (for now). the two languages dont have the same look and also half of the form is not a like but it still have some similiarity beetwen them. ...

determining the character set to use

my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...

HOW TO MAKE localization?

I have a question about localization how can i do localization lets say that i have a dropdown list that holds the available languages: English,french and arabic and I have a label which get it says "...

热门标签