aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/app.module.ts4
-rw-r--r--client/src/main.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index a3ea33ca9..38b7328e2 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -76,7 +76,7 @@ export function metaFactory (serverService: ServerService): MetaLoader {
76 // On dev mode, test localization 76 // On dev mode, test localization
77 if (isOnDevLocale()) { 77 if (isOnDevLocale()) {
78 locale = buildFileLocale(getDevLocale()) 78 locale = buildFileLocale(getDevLocale())
79 return require(`raw-loader!../locale/target/angular_${locale}.xml`) 79 return require(`raw-loader!../locale/angular.${locale}.xlf`)
80 } 80 }
81 81
82 // Default locale, nothing to translate 82 // Default locale, nothing to translate
@@ -84,7 +84,7 @@ export function metaFactory (serverService: ServerService): MetaLoader {
84 if (isDefaultLocale(completeLocale)) return '' 84 if (isDefaultLocale(completeLocale)) return ''
85 85
86 const fileLocale = buildFileLocale(locale) 86 const fileLocale = buildFileLocale(locale)
87 return require(`raw-loader!../locale/target/angular_${fileLocale}.xml`) 87 return require(`raw-loader!../locale/angular.${fileLocale}.xlf`)
88 }, 88 },
89 deps: [ LOCALE_ID ] 89 deps: [ LOCALE_ID ]
90 }, 90 },
diff --git a/client/src/main.ts b/client/src/main.ts
index 86fdabba5..2b65072ad 100644
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -16,7 +16,7 @@ if (environment.production) {
16// Template translation, should be in the bootstrap step 16// Template translation, should be in the bootstrap step
17if (isOnDevLocale()) { 17if (isOnDevLocale()) {
18 const locale = buildFileLocale(getDevLocale()) 18 const locale = buildFileLocale(getDevLocale())
19 const translations = require(`raw-loader!./locale/target/angular_${locale}.xml`) 19 const translations = require(`raw-loader!./locale/angular.${locale}.xlf`)
20 20
21 providers = [ 21 providers = [
22 { provide: TRANSLATIONS, useValue: translations }, 22 { provide: TRANSLATIONS, useValue: translations },