{"action":"opened","issue":{"url":"https://api.github.com/repos/Nordth/dojo-webpack-loader/issues/6","repository_url":"https://api.github.com/repos/Nordth/dojo-webpack-loader","labels_url":"https://api.github.com/repos/Nordth/dojo-webpack-loader/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Nordth/dojo-webpack-loader/issues/6/comments","events_url":"https://api.github.com/repos/Nordth/dojo-webpack-loader/issues/6/events","html_url":"https://github.com/Nordth/dojo-webpack-loader/issues/6","id":172952676,"number":6,"title":"dojo/i18n plugin - doesn't resolve against locale before returning result?","user":{"login":"RoystonS","id":19773,"avatar_url":"https://avatars.githubusercontent.com/u/19773?v=3","gravatar_id":"","url":"https://api.github.com/users/RoystonS","html_url":"https://github.com/RoystonS","followers_url":"https://api.github.com/users/RoystonS/followers","following_url":"https://api.github.com/users/RoystonS/following{/other_user}","gists_url":"https://api.github.com/users/RoystonS/gists{/gist_id}","starred_url":"https://api.github.com/users/RoystonS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoystonS/subscriptions","organizations_url":"https://api.github.com/users/RoystonS/orgs","repos_url":"https://api.github.com/users/RoystonS/repos","events_url":"https://api.github.com/users/RoystonS/events{/privacy}","received_events_url":"https://api.github.com/users/RoystonS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T13:32:57Z","updated_at":"2016-08-24T13:32:57Z","closed_at":null,"body":"Not sure whether I'm missing something, but it looks like references to `'dojo/i18n!some_module'` always return the root values for some_module rather than something related to the current locale.\r\n\r\nI can see in the generated file for a root NLS file that it injects all of the specified languages (as, say, `lang_fr`, `lang_en`, variables etc.) but they don't appear to be used anywhere in the generated module.\r\n\r\n(For more context, this is the code that generates those variables:\r\n```\r\n           module.inject.dependencies.push({\r\n               dep: \"./\" + lang + \"/\" + path.basename(module.resourcePath, \".js\"),\r\n               name: \"lang_\" + lang.replace(/-/g, \"_\")\r\n           });\r\n```\r\n\r\nIs this something that's meant to work at the moment, or is it still in progress?\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"RoystonS"}}