RTL and Multilingual

Last updated 8 months ago

Multilingual

Just add a file under src/assets/i18n/ with your local language name and copy the content of the file english.json into an added file. Change the right side content to local

To localize your app set your default language within the constructor of app.component.ts file like

this.translateService.setDefaultLang('french');

change french -> to your file name

RTL

To use RTL set appDir to rtl in src/providers/config.ts file

appDir: any = 'rtl';

‚Äč