Localization > Silverlight Localization |
Localization for Silverlight applications is a bit different, as it has two extra steps.
project.csproj |
Copy Code
|
---|---|
<SupportedCultures>es,en</SupportedCultures> |
The final step is the same in WPF. Change the application thread's culture.
Visual Basic |
Copy Code
|
---|---|
' set culture to Spanish ("es") Thread.CurrentThread.CurrentUICulture = New CultureInfo("es") |
C# |
Copy Code
|
---|---|
// set culture to Spanish ("es") Thread.CurrentThread.CurrentUICulture = new CultureInfo("es"); |
Check out the live demo showing every provided language in Studio for Silverlight.
This information just focuses on localizing C1 controls. You will likely have other UI strings that need to be localized too. For more information about Silverlight localization from Microsoft, see Localizing Silverlight-based Applications.