{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-extension-samples/issues/92","repository_url":"https://api.github.com/repos/Microsoft/vscode-extension-samples","labels_url":"https://api.github.com/repos/Microsoft/vscode-extension-samples/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-extension-samples/issues/92/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-extension-samples/issues/92/events","html_url":"https://github.com/Microsoft/vscode-extension-samples/issues/92","id":356410773,"node_id":"MDU6SXNzdWUzNTY0MTA3NzM=","number":92,"title":"Localization doesn't work","user":{"login":"Brighttll","id":12249650,"node_id":"MDQ6VXNlcjEyMjQ5NjUw","avatar_url":"https://avatars1.githubusercontent.com/u/12249650?v=4","gravatar_id":"","url":"https://api.github.com/users/Brighttll","html_url":"https://github.com/Brighttll","followers_url":"https://api.github.com/users/Brighttll/followers","following_url":"https://api.github.com/users/Brighttll/following{/other_user}","gists_url":"https://api.github.com/users/Brighttll/gists{/gist_id}","starred_url":"https://api.github.com/users/Brighttll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brighttll/subscriptions","organizations_url":"https://api.github.com/users/Brighttll/orgs","repos_url":"https://api.github.com/users/Brighttll/repos","events_url":"https://api.github.com/users/Brighttll/events{/privacy}","received_events_url":"https://api.github.com/users/Brighttll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"dbaeumer","id":1931590,"node_id":"MDQ6VXNlcjE5MzE1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1931590?v=4","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"assignees":[{"login":"dbaeumer","id":1931590,"node_id":"MDQ6VXNlcjE5MzE1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1931590?v=4","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-09-03T08:45:50Z","updated_at":"2018-09-07T09:04:19Z","closed_at":"2018-09-05T12:13:30Z","author_association":"NONE","body":"I tried to localize a message which should displays in ja(Japanese), but the message shows in en(English) after updating the locale as 'ja'. I noticed that localize('key', 'stringValue') are not transformed to localize(0, null) in **extension.js** after executing command **gulp package**. But the file **extension.nls.ja.json** would be generated correctly in the out folder. \r\n\r\nI cannot figure out what's going on, did I missed anything?\r\n\r\nI attached the source code, the reproduce steps are followings, you can refer the page [https://github.com/Brighttll/vscode-extension-samples/tree/master/i18n-sample] for details.\r\n1. Export the extension package and install it\r\n2. Update the locale as 'ja', restart vs code IDE.\r\n3. Run the command Tester: Create Application\r\n![image](https://user-images.githubusercontent.com/12249650/44976288-61c4a580-af97-11e8-84f4-28f5d61112b7.png)\r\n4. Message box pop up, it's not in ja.\r\n![image](https://user-images.githubusercontent.com/12249650/44976329-828cfb00-af97-11e8-8c21-429e2905606d.png)\r\n\r\nMuch appreciate if any one have a change to have a look at the issue.\r\n\r\n[Extension.zip](https://github.com/Microsoft/vscode-extension-samples/files/2344798/Extension.zip)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-extension-samples/issues/comments/419374133","html_url":"https://github.com/Microsoft/vscode-extension-samples/issues/92#issuecomment-419374133","issue_url":"https://api.github.com/repos/Microsoft/vscode-extension-samples/issues/92","id":419374133,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTM3NDEzMw==","user":{"login":"Brighttll","id":12249650,"node_id":"MDQ6VXNlcjEyMjQ5NjUw","avatar_url":"https://avatars1.githubusercontent.com/u/12249650?v=4","gravatar_id":"","url":"https://api.github.com/users/Brighttll","html_url":"https://github.com/Brighttll","followers_url":"https://api.github.com/users/Brighttll/followers","following_url":"https://api.github.com/users/Brighttll/following{/other_user}","gists_url":"https://api.github.com/users/Brighttll/gists{/gist_id}","starred_url":"https://api.github.com/users/Brighttll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brighttll/subscriptions","organizations_url":"https://api.github.com/users/Brighttll/orgs","repos_url":"https://api.github.com/users/Brighttll/repos","events_url":"https://api.github.com/users/Brighttll/events{/privacy}","received_events_url":"https://api.github.com/users/Brighttll/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T09:04:19Z","updated_at":"2018-09-07T09:04:19Z","author_association":"NONE","body":"The second argument of localize is the default local text, I have to pass a exact string value for it. \r\nDo you mean it will load the default local text from JSON file? How to do it?"}}
{"actor":{"display_login":"Brighttll"}}