0.2.1 • Published 7 years ago

wijmo5-culture-loader v0.2.1

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

wijmo5-culture-loader

Dynamically load/switch Wijmo 5 cultures. Will cache previously loaded cultures for efficiency. That way if a culture is requested that was already loaded there is no need to reload.

Example

loadWijmo5Culture(tag)
// Where tag is a wijmo supported IETF language tag (e.g. en, en-CA, es, fr-CA)

Configuration

// Replace with your Wijmo 5 cultures path
loadWijmo5Culture._path = 'node_modules/wijmo5/controls/cultures/'