{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1093","repository_url":"https://api.github.com/repos/OrchardCMS/OrchardCore","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1093/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1093/comments","events_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1093/events","html_url":"https://github.com/OrchardCMS/OrchardCore/issues/1093","id":264977094,"number":1093,"title":"Localization reload translations if file changes","user":{"login":"Franklin89","id":4151467,"avatar_url":"https://avatars0.githubusercontent.com/u/4151467?v=4","gravatar_id":"","url":"https://api.github.com/users/Franklin89","html_url":"https://github.com/Franklin89","followers_url":"https://api.github.com/users/Franklin89/followers","following_url":"https://api.github.com/users/Franklin89/following{/other_user}","gists_url":"https://api.github.com/users/Franklin89/gists{/gist_id}","starred_url":"https://api.github.com/users/Franklin89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Franklin89/subscriptions","organizations_url":"https://api.github.com/users/Franklin89/orgs","repos_url":"https://api.github.com/users/Franklin89/repos","events_url":"https://api.github.com/users/Franklin89/events{/privacy}","received_events_url":"https://api.github.com/users/Franklin89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OrchardCMS/OrchardCore/milestones/3","html_url":"https://github.com/OrchardCMS/OrchardCore/milestone/3","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/milestones/3/labels","id":2398568,"number":3,"title":"backlog","description":"Feature that are not yet schedule for a specific release but are worth considering.","creator":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars0.githubusercontent.com/u/1165805?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2017-03-20T17:20:17Z","updated_at":"2017-10-12T18:11:40Z","due_on":"2063-04-05T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-10-12T15:05:36Z","updated_at":"2017-10-12T19:58:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I was wondering if this might be something that anyone else is interested in or if it is just me.\r\n\r\nI am only using the Localization package at the moment from OrchadCore for my asp.net core mvc project, following the guide lines here on [Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/portable-object-localization)\r\n\r\nIf I change the po file I have to restart the application so that the change gets reflected in the application. `Microsoft.Extensions.Configuration` package used for loading `appsettings.json` has the possibility to watch the configuration file and reload if it is changed with a simple flag `reloadOnChange`\r\n\r\n```csharp\r\n// Set up configuration sources.\r\nvar builder = new ConfigurationBuilder()\r\n   .SetBasePath(env.ContentRootPath)\r\n   .AddJsonFile(\"appsettings.json\", optional: true, reloadOnChange: true);\r\n```\r\n\r\nWould this be a feature that could be implemented?\r\n\r\nFor example like this: \r\n\r\n```csharp\r\nservices.AddPortableObjectLocalization(reloadOnChange: true);\r\n```"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/comments/336248665","html_url":"https://github.com/OrchardCMS/OrchardCore/issues/1093#issuecomment-336248665","issue_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1093","id":336248665,"user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars0.githubusercontent.com/u/1165805?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"created_at":"2017-10-12T19:58:08Z","updated_at":"2017-10-12T19:58:08Z","author_association":"OWNER","body":"Feel free to drop on the gitter room if you need to check your design ideas."}}
{"actor":{"display_login":"sebastienros"}}