+// Template translation, should be in the bootstrap step
+if (isOnDevLocale()) {
+ const locale = buildFileLocale(getDevLocale())
+ const translations = require(`raw-loader!./locale/target/angular_${locale}.xml`)
+
+ providers = [
+ { provide: TRANSLATIONS, useValue: translations },
+ { provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }
+ ]
+}
+