graphicore / mdlFontSpecimen

Font specimen for the web based on Material Design Lite.
https://graphicore.github.io/mdlFontSpecimen/
Apache License 2.0
25 stars 2 forks source link

language-coverage-details: WithSublocales #9

Open graphicore opened 7 years ago

graphicore commented 7 years ago

Currently we use the CLDR data without sublocales, but it would be nice to optionally load the CLDR data that contains subloclaes. The files could be loaded on request, so that the file sizes don't affect the initial load time too much.

Currently, we load these files in inspect-main using requirejs, locally this can be changed easily

without sublocales:

  , '!require/text!specimenTools/services/languageCharSets.json'
  , '!require/text!specimenTools/services/googleFontsCharSets.json'

with sublocales:

  , '!require/text!specimenTools/services/languageCharSetsWithSublocales.json'
  , '!require/text!specimenTools/services/googleFontsCharSetsWithSublocales.json'