{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/intl/issues/32","labels_url":"https://api.github.com/repos/dart-lang/intl/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/intl/issues/32/comments","events_url":"https://api.github.com/repos/dart-lang/intl/issues/32/events","html_url":"https://github.com/dart-lang/intl/issues/32","id":85648443,"number":32,"title":"Simplify deployment of intl apps","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/intl/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/dart-lang/intl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"alan-knight","id":3476088,"avatar_url":"https://avatars.githubusercontent.com/u/3476088?v=3","gravatar_id":"","url":"https://api.github.com/users/alan-knight","html_url":"https://github.com/alan-knight","followers_url":"https://api.github.com/users/alan-knight/followers","following_url":"https://api.github.com/users/alan-knight/following{/other_user}","gists_url":"https://api.github.com/users/alan-knight/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-knight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-knight/subscriptions","organizations_url":"https://api.github.com/users/alan-knight/orgs","repos_url":"https://api.github.com/users/alan-knight/repos","events_url":"https://api.github.com/users/alan-knight/events{/privacy}","received_events_url":"https://api.github.com/users/alan-knight/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-05T22:33:21Z","updated_at":"2015-06-05T22:33:22Z","closed_at":"2015-06-05T22:33:22Z","body":"<a href=\"https://github.com/stevemessick\"><img src=\"https://avatars.githubusercontent.com/u/8518285?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [stevemessick](https://github.com/stevemessick)**\n_Originally opened as dart-lang/sdk#16060_\n\n----\n\nWhen a Dart app, which uses the intl package, is pub-built and compiled into JavaScript, dart2js creates 80 pattern and 80 symbol JSON files under the packages/intl directory.  These 160 JSON files (2 per each existing locale whether used in the app or not) in turn must be loaded over to the server and downloaded by the clients.  Is there a way to merge these files into one file?  Is it not possible to keep the files for only the locales that the app requires.  It seems to me that internationalization could be handled much more efficiently than it currently is.\n////////////////////////////////////////////////////////////////////////////////////\nEditor: 1.0.0_r30798 (2013-12-02)\nOS: Windows 7 - amd64 (6.1)\nJVM: 1.7.0_45\n# projects: 7\n# open dart files: 0\nauto-run pub: true\nlocalhost resolves to: 127.0.0.1\nmem max/total/free: 1778 / 963 / 618 MB\nthread count: 27\nindex: 1830668 relationships in 317984 keys in 1318 sources\n\nSDK installed: true\nDartium installed: true"}}