Automatic bundling of required cldr data with support for lazily loading additional cldr data #655
Labels
area: i18n
Internationalisation
discussion
The issue is up for discussion
enhancement
New feature or request
Goals:
Reduce the configuration and setup required for Internationalising a Dojo application, making i18n a true first class citizen. Continue to leverage Globalize/CLDR for i18n and specifically use Globalize/CLDR exclusively to resolve bundle messages and ICU formatting. To intelligently include required CLDR data based on the locale configuration specified in the application's
.dojorc
and whether the application requires it. Meaning that if an application does not use any formatters that none of the locale specific cldr data will be loaded.As a side effect to more intelligent/automatic bundling of cldr-data based on the application's needs we might be able to reduce the overall bundle size at the same time.
Challenges:
.dojorc
.dojorc
config or application needsProposal:
.dojorc
Areas Affected
Future Considerations
In the future we might be able to make even more gains on bundle size and ergonomics by compiling the globalize bundles and formatting usages at build time, something that @mwistrand has been looking into independently of this proposal.
The text was updated successfully, but these errors were encountered: