This project has moved and is read-only. For the latest updates, please go here.

How can I localize the Multi File Uploader

Oct 11, 2012 at 6:31 PM

I have done localization in web applications before, but not in a Silverlight control. In fact, I am a newbie to Silverlight, so please bear with me. I need the Multi File Uploader to render in English or Spanish depending on the current CultureInfo. In the mpost.SilverlightMultiFileUpload project, there is a UserMessages.resx, but I would like to include a as well for the control to read from. Has anyone else done this? Thank you in advance!

Oct 16, 2012 at 12:10 AM
Edited Oct 16, 2012 at 12:11 AM

For anyone who is interested, I have solved my own issue by doing the following:

1. Added in mpost.SilverlightMultiFileUpload project and mpost.SilverlightMultiFileUpload.Controls project

2. Right click on mpost.SilverlightMultiFileUpload project in the solution, select Unload. Right click again on the project, select Edit mpost.SilverlightMultiFileUpload and added a SupportedCultures line under <PropertyGroup>






Repeat step 2 for mpost.SilverlightMultiFileUpload.Controls

3. Add uiculture param to the MultiFileUploader object on your .aspx page


<param name="uiculture" value="<%=Request.Cookies["language"].Value %>"/>