diff --git a/src/providers/lang.ts b/src/providers/lang.ts index b598be1b7..7454acd7d 100644 --- a/src/providers/lang.ts +++ b/src/providers/lang.ts @@ -55,7 +55,9 @@ export class CoreLangProvider { translate.onLangChange.subscribe((event: any) => { platform.setLang(event.lang, true); - platform.setDir(this.translate.instant('core.thisdirection'), true); + + const dir = this.translate.instant('core.thisdirection'); + platform.setDir(dir.indexOf('rtl') != -1 ? 'rtl' : 'ltr', true); }); }