i18n pluralization support
This commit is contained in:
parent
dbda4b72d2
commit
ee98dec2e3
3 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,7 @@
|
|||
<script src="/vendor/ember-easyForm/index.js"></script>
|
||||
<script src="/vendor/cldr/plurals.js"></script>
|
||||
<script src="/vendor/ember-i18n/lib/i18n.js"></script>
|
||||
<script src="/vendor/ember-i18n/lib/i18n-plurals.js"></script>
|
||||
<script src="/vendor/sjcl/sjcl.js"></script>
|
||||
<script src="/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ export default {
|
|||
Ember.FEATURES.I18N_TRANSLATE_HELPER_SPAN = false;
|
||||
Ember.ENV.I18N_COMPILE_WITHOUT_HANDLEBARS = true;
|
||||
Ember.I18n.translations = translations[language];
|
||||
Ember.I18n.locale = language;
|
||||
|
||||
// inject into controller
|
||||
var languageStorage = Ember.Object.extend({
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"floatThead": "~1.2.8",
|
||||
"webshim": "~1.15.3",
|
||||
"modernizr": "~2.8.3",
|
||||
"ember-i18n": "~2.2.2",
|
||||
"ember-i18n": "~2.9.0",
|
||||
"cldr": "~1.0.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue