# RTL and Multilingual

## Multilingual <a href="#multilingual" id="multilingual"></a>

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

![](https://1319283601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LF-v8mhdlBDzXsLDgdV%2F-LF2Hu0ZsX-JMqNmc6MV%2F-LF2I3zPKK_PXoxLt7je%2Fimage.png?alt=media\&token=abe9153b-33c9-4712-9028-adaca58bc4a4)

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

```typescript
this.translateService.setDefaultLang('french');
```

{% hint style="info" %}
&#x20;change french -> to your file name
{% endhint %}

## RTL <a href="#rtl" id="rtl"></a>

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

```typescript
appDir: any = 'rtl';
```
