{"action":"created","issue":{"url":"https://api.github.com/repos/SeriousM/WPFLocalizationExtension/issues/76","labels_url":"https://api.github.com/repos/SeriousM/WPFLocalizationExtension/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/SeriousM/WPFLocalizationExtension/issues/76/comments","events_url":"https://api.github.com/repos/SeriousM/WPFLocalizationExtension/issues/76/events","html_url":"https://github.com/SeriousM/WPFLocalizationExtension/issues/76","id":109041911,"number":76,"title":"Localization with Caliburn Micro","user":{"login":"arcuri","id":10706727,"avatar_url":"https://avatars.githubusercontent.com/u/10706727?v=3","gravatar_id":"","url":"https://api.github.com/users/arcuri","html_url":"https://github.com/arcuri","followers_url":"https://api.github.com/users/arcuri/followers","following_url":"https://api.github.com/users/arcuri/following{/other_user}","gists_url":"https://api.github.com/users/arcuri/gists{/gist_id}","starred_url":"https://api.github.com/users/arcuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcuri/subscriptions","organizations_url":"https://api.github.com/users/arcuri/orgs","repos_url":"https://api.github.com/users/arcuri/repos","events_url":"https://api.github.com/users/arcuri/events{/privacy}","received_events_url":"https://api.github.com/users/arcuri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-30T08:38:21Z","updated_at":"2015-11-15T20:27:57Z","closed_at":null,"body":"I'am using Caliburn Micro for developing my multilanguage application. It is compose by the main panel and several modules that are loaded runtime by the bootstrapper and placed in AvalonDock panels. \r\n\r\nThe multilanguage works perfectly in the main panel (messages are correctly retrieved based on current culture) while all the modules load correctly only the Resource Manager but are not able to load other cultures. \r\n\r\nFollowing step by step the code, I realized that in the function \r\nprotected ResourceManager GetResourceManager(string resourceAssembly, string resourceDictionary) in the file \"ResxLocalizationProviderBase.cs\" the next piece of code is not working:\r\n\r\n        try\r\n        {\r\n          var assemblyLocation = Path.GetDirectoryName(assembly.Location);\r\n          \r\n          // Get the list of all cultures.\r\n          var cultures = CultureInfo.GetCultures(CultureTypes.AllCultures);\r\n\r\n          foreach (var c in cultures)\r\n          {\r\n            var rs = resManager.GetResourceSet(c, true, false);\r\n            if (rs != null)\r\n              AddCulture(c);\r\n          }\r\n        }\r\n        catch\r\n        {\r\n          // This may lead to problems with Silverlight\r\n        }\r\n\r\nThe \"rs\" variable is always NULL, although the resource files exist.\r\n\r\nDo you have any suggestions?? \r\n\r\nThanks in advance\r\nBernardo"},"comment":{"url":"https://api.github.com/repos/SeriousM/WPFLocalizationExtension/issues/comments/156850466","html_url":"https://github.com/SeriousM/WPFLocalizationExtension/issues/76#issuecomment-156850466","issue_url":"https://api.github.com/repos/SeriousM/WPFLocalizationExtension/issues/76","id":156850466,"user":{"login":"SeriousM","id":462013,"avatar_url":"https://avatars.githubusercontent.com/u/462013?v=3","gravatar_id":"","url":"https://api.github.com/users/SeriousM","html_url":"https://github.com/SeriousM","followers_url":"https://api.github.com/users/SeriousM/followers","following_url":"https://api.github.com/users/SeriousM/following{/other_user}","gists_url":"https://api.github.com/users/SeriousM/gists{/gist_id}","starred_url":"https://api.github.com/users/SeriousM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeriousM/subscriptions","organizations_url":"https://api.github.com/users/SeriousM/orgs","repos_url":"https://api.github.com/users/SeriousM/repos","events_url":"https://api.github.com/users/SeriousM/events{/privacy}","received_events_url":"https://api.github.com/users/SeriousM/received_events","type":"User","site_admin":false},"created_at":"2015-11-15T20:27:57Z","updated_at":"2015-11-15T20:27:57Z","body":"That's just a quick shot, but what if you're using \"{lex:Loc\nShell:Italian}\" instead of \"{lex:Loc Italian}\"?\n"}}