Intersoft ClientUI Documentation
LocalizationManager Class
Members  See Also  Send Feedback
Intersoft.Client.Framework Namespace : LocalizationManager Class






Provides static properties and instance methods to manage and work with localized resource.

Object Model

LocalizationManager Class

Syntax

Visual Basic (Declaration) 
Public Class LocalizationManager 
Visual Basic (Usage)Copy Code
Dim instance As LocalizationManager
C# 
public class LocalizationManager 
Delphi 
public class LocalizationManager 
JScript 
public class LocalizationManager 
Managed Extensions for C++ 
public __gc class LocalizationManager 
C++/CLI 
public ref class LocalizationManager 

Remarks

ClientUI Localization Manager is a framework that enables you to build dynamic, reliable localized applications. It overcomes the limitations of the Silverlight's built-in localization feature and packed with advanced features such as dynamic localized resource updating, MVVM design pattern support, and more.

The localization manager was built with the key goals described in the following:

  • UI (View) agnostics. The localized resource can be bound to any UI elements that support dependency properties, and not limited to certain content controls.
  • Provides an easy way to reuse and encapsulate Resource assets in the project.
  • Supports MVVM architectural design pattern.
  • Supports dynamic culture change without application restart.
  • Supports automatic localized resource update when the application's culture changes.
  • Supports advanced fallback mechanism and custom override in control usage scenarios.

To change the application's culture, you set the Culture static property of the LocalizationManager to the desired culture that supported in the project.

The following code example shows how to change the application's Culture to the France culture through a DelegateCommand.

CS Copy Code
private void ExecuteChangeLanguage(object parameter)
{
     LocalizationManager.Culture = new CultureInfo("fr");
}

For more information about building localizable applications using ClientUI, see Localization Overview.

Inheritance Hierarchy

System.Object
   Intersoft.Client.Framework.LocalizationManager

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.