{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1559","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1559/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1559/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1559/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1559","id":186389653,"number":1559,"title":"localized builtin strings are not resolving to BotBuilder namespace 3.4.2","user":{"login":"jdwilkin","id":4325013,"avatar_url":"https://avatars.githubusercontent.com/u/4325013?v=3","gravatar_id":"","url":"https://api.github.com/users/jdwilkin","html_url":"https://github.com/jdwilkin","followers_url":"https://api.github.com/users/jdwilkin/followers","following_url":"https://api.github.com/users/jdwilkin/following{/other_user}","gists_url":"https://api.github.com/users/jdwilkin/gists{/gist_id}","starred_url":"https://api.github.com/users/jdwilkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdwilkin/subscriptions","organizations_url":"https://api.github.com/users/jdwilkin/orgs","repos_url":"https://api.github.com/users/jdwilkin/repos","events_url":"https://api.github.com/users/jdwilkin/events{/privacy}","received_events_url":"https://api.github.com/users/jdwilkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-31T20:31:18Z","updated_at":"2016-11-02T20:47:45Z","closed_at":null,"body":"In my app I have a simple test variable assignment that illustrates what is not working.   var text =  session.localizer.gettext(locale, \"list_or\");  The variable text in this case gets assigned \"list_or\" instead of properly getting the \"en\" localized string \" or \".  \r\n\r\nI have dug in the code a bit and traced the problem to casing of the \"BotBuilder\" namespace, mainly that when the locale is loaded the namespace is set to \"BotBuilder\" based on the name and casing of the file, but when the localization occurs the namespace being passed in to get the text is being lowercased (DefaultLocalizer.js line 67) and thus doesn't match what was loaded into the locale.  The end result of this is all of prompts that have localized strings are not resolving"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/257994072","html_url":"https://github.com/Microsoft/BotBuilder/issues/1559#issuecomment-257994072","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1559","id":257994072,"user":{"login":"Stevenic","id":698939,"avatar_url":"https://avatars.githubusercontent.com/u/698939?v=3","gravatar_id":"","url":"https://api.github.com/users/Stevenic","html_url":"https://github.com/Stevenic","followers_url":"https://api.github.com/users/Stevenic/followers","following_url":"https://api.github.com/users/Stevenic/following{/other_user}","gists_url":"https://api.github.com/users/Stevenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Stevenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stevenic/subscriptions","organizations_url":"https://api.github.com/users/Stevenic/orgs","repos_url":"https://api.github.com/users/Stevenic/repos","events_url":"https://api.github.com/users/Stevenic/events{/privacy}","received_events_url":"https://api.github.com/users/Stevenic/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T20:47:45Z","updated_at":"2016-11-02T20:47:45Z","body":"That's a good catch... let me push a patch..."}}
{"actor":{"display_login":"Stevenic"}}