dojo/dojo — pull request #35 by clmath (2013-10-22 17:09:57+00:00)
Title: Proposed fix for trac ticket #17155 - 1.8 

This pull request backport the PR #34 to branch 1.8 (diff at lines 266-309)

##### From PR #34 : #####
This is a two parts fix, one in dojo/i18n, one in util/build/tranforms/writeAMD.

The idea is to gather a list of all available locales in the application at build time, so the i18n plugin can decide of the best available locale without doing any http request.