View previous topic :: View next topic |
Author |
Message |
Tor Arne
Joined: 22 Feb 2011 Posts: 1
|
Posted: Tue Feb 22, 2011 9:15 am Post subject: Silverlight support |
|
|
Hi, do you have any plans to support Silverlight in Globalizer.NET?
Do you have any recommendations for how to globalize Silverlight apps currently?
Thanks! |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Feb 24, 2011 5:22 am Post subject: |
|
|
Unfortunately Silverlight doesn't support markup extensions (like the Resx Extension that Globalizer uses for localizing WPF applications). You can however still use Globalizer for with Silverlight projects if the application uses the Microsoft recommended approach for localizing Silverlight XAML. See this MSDN article for details: http://msdn.microsoft.com/en-us/library/dd882554(v=vs.95).aspx#Y238
This approach uses standard resx resource files for storing the localized content and the Binding Path markup to get the resource from the file.
You can then use Globalizer as normal, add a target for the Visual Studio project and scan (be sure to turn off the "Convert WPF..." option as this will attempt to convert your XAML to use the ResxExtension which isn't supported in Silverlight). This will scan all the resources.
We are looking at adding better support for Silverlight in the next major release of Globalizer. This may include an automatic conversion of XAML properties similar to what we have for the Resx Extension. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Fri Jul 22, 2011 3:59 am Post subject: |
|
|
Version 3 of Globalizer has now been released and includes support for localizing Silverlight applications.
See the Release Announcement for more details. _________________ Infralution Support |
|
Back to top |
|
|
|