Skip to content

pinkhominid/wijmo5-culture-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/'