Cropster / ember-l10n

A GNU gettext based localization workflow for Ember
MIT License
15 stars 7 forks source link

Add fingerprinting to locale.json files #7

Closed mydea closed 7 years ago

mydea commented 8 years ago

We want the locale files (e.g. en.json) to be properly cached by the browser. However, because ember-cli's fingerprinting doesn't work for this case, we need to implement this manually.

The ideal solution would be:

E.g.:

// environment.js
var ENV = {
  // ...
  'ember-l10n': { 
    fingerprint: '12345' 
  }
}
arm1n commented 7 years ago

@mydea Isn't this already fixed by #13? If so, please close this issue - thanks!

mydea commented 7 years ago

Yes, I forgot to close this :)