Multiple Localisation manager?

2 posts, 0 answers
  1. Dirk
    Dirk avatar
    43 posts
    Member since:
    May 2011

    Posted 14 Nov 2012 Link to this post

    I'm developing a modular Silverlight application with PRISM.
    Is it possible to implement the LocalisationManager with multiple ressource (resx) files? I dont' want to use global resx file. Every module should have it's own resx file.

    LocalizationManager.Manager =
    new LocalizationManager()
        ResourceManager = Main.Common.Resources.Module1Strings.ResourceManager,
        Culture = new CultureInfo(culture)
    LocalizationManager.Manager = new LocalizationManager()
        ResourceManager = Main.Common.Resources.Module2Strings.ResourceManager,
        Culture = new CultureInfo(culture)
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 14 Nov 2012 Link to this post


    Generally, the recommended approach is to have all your string resources defined in one resource file for each of the languages and use it for the ResourceManager. Please note that you cannot combine different resource files at run-time.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top