Loading packages/carrier-mobile-ionic/src/app/app.component.ts +10 −2 Original line number Diff line number Diff line Loading @@ -117,14 +117,22 @@ export class AppComponent implements OnInit { console.log(this.defaultLanguage); const lang = (localStorage.getItem('_language') as ILanguage) || null; const langs = { he: 'he', ru: 'ru', bg: 'bg', en: 'en', es: 'es' }; // This 4 lines is here because of bug => without this lines, lang translation doesn't work. const langs = { he: 'he', ru: 'ru', bg: 'bg', en: 'en', es: 'es', fr: 'fr', }; // This 6 lines is here because of bug => without this lines, lang translation doesn't work. // (The bug is unknown) this._langTranslator.use(langs.he); this._langTranslator.use(langs.ru); this._langTranslator.use(langs.bg); this._langTranslator.use(langs.en); this._langTranslator.use(langs.es); this._langTranslator.use(langs.fr); this._langTranslator.resetLang(langs.en); Loading packages/carrier-mobile-ionic/src/assets/i18n/en.json +2 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,8 @@ "BULGARIAN": "Bulgarian", "HEBREW": "Hebrew", "RUSSIAN": "Rusian", "SPANISH": "Spanish" "SPANISH": "Spanish", "French": "French" }, "LIST_VIEW": { "YOU_NAVIGATED_HERE_FROM": "You navigated here from" Loading Loading
packages/carrier-mobile-ionic/src/app/app.component.ts +10 −2 Original line number Diff line number Diff line Loading @@ -117,14 +117,22 @@ export class AppComponent implements OnInit { console.log(this.defaultLanguage); const lang = (localStorage.getItem('_language') as ILanguage) || null; const langs = { he: 'he', ru: 'ru', bg: 'bg', en: 'en', es: 'es' }; // This 4 lines is here because of bug => without this lines, lang translation doesn't work. const langs = { he: 'he', ru: 'ru', bg: 'bg', en: 'en', es: 'es', fr: 'fr', }; // This 6 lines is here because of bug => without this lines, lang translation doesn't work. // (The bug is unknown) this._langTranslator.use(langs.he); this._langTranslator.use(langs.ru); this._langTranslator.use(langs.bg); this._langTranslator.use(langs.en); this._langTranslator.use(langs.es); this._langTranslator.use(langs.fr); this._langTranslator.resetLang(langs.en); Loading
packages/carrier-mobile-ionic/src/assets/i18n/en.json +2 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,8 @@ "BULGARIAN": "Bulgarian", "HEBREW": "Hebrew", "RUSSIAN": "Rusian", "SPANISH": "Spanish" "SPANISH": "Spanish", "French": "French" }, "LIST_VIEW": { "YOU_NAVIGATED_HERE_FROM": "You navigated here from" Loading