Multi-lingual application

Topics: Prism v4 - WPF 4
Jan 30, 2011 at 9:57 AM

Hi, 

is there a recommended approach on how to implement a multi-lingual PRISM application, or an example that shows how to do this?

Thanks!

Jan 31, 2011 at 8:59 PM

Hi,

You might find the following links handy, where Globalization and Localizations topic is covered in Windows Presentation Foundation´s scope, although they are not Prism-specific.

Globalization and Localization – Windows Presentation Foundation

Also, you might find this tutorial very helpful on how to achieve a WPF Localized App.

Let me know if this information helps you.

Thanks,

Miguel Bronzovic
http://blogs.southworks.net/mbronzovic

 

Feb 1, 2011 at 6:57 AM

Yes I found several links, but I was looking to something that:

  • allows each module to have its own translations of UI elements.
  • has a simple approach, no tools needed to generate stuff
  • Should still be able to use blend to design the UI
  • Optionally be able to switch language without restarting the application (not a dealbreaker)

And at the moment it's not very clear how to do this.

Feb 1, 2011 at 3:40 PM

Meanwhile I found an open source project that works really well:http://wpflocalizeextension.codeplex.com. It's just adding a reference to the dll, adding the resources with translations, and using it in XAML. It worked in 5 minutes. I can add multiple resources to individual modules; and it works fine in visual studio designer and blend. And, locale can be changed on the fly. Meets my requirements :)

Feb 1, 2011 at 6:58 PM

Hi,

I'm glad that you've found a solution to help you with your localization approach. Thank you for sharing this with the rest of the community, as other users facing similar scenarios might benefit from this.

Miguel Bronzovic
http://blogs.southworks.net/mbronzovic

 

Jul 3, 2014 at 8:20 PM
Is PRISM suitable for large scale/enterprise level applications?
Jul 11, 2014 at 5:41 PM
barizan wrote:
Is PRISM suitable for large scale/enterprise level applications?
To me, that is its primary use case. I have developed at least 5 large scale ( > 100,000 LOC ) applications for 3 different F100 companies. And I will continue to use at least parts of it for almost any app I write.

Paul