# Globalization - Translation

Ionic 4 apps can translate text into multiple languages, and can even detect the device's language and locale to translate the given app into.&#x20;

![](https://3608702775-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LsQWILyBp_9nWmIJ7TG%2F-LubN-NBML75OgCFqKlj%2F-LubNJKXk1Aj2H3YljVS%2Fassets_-La-kqVz2Uq1Ka0VUWZT_-LaQ3Mf4BGHtNBExl4Pm_-LaQ3_ETyuyuicbQHu2O_Screen%20Shot%202019-03-20%20at%205.57.20%20PM.png?alt=media\&token=a91f613d-1a6e-4b74-88da-6799ec7ec16a)

### Translation

The main library used for translation is [ngx-translate](https://github.com/ngx-translate/core). It is an Angular library that can be used in Ionic 4 as well.

### Detecting Device Language

To detect device language, you can use Cordova's plugin - [cordova-plugin-globalization](https://github.com/apache/cordova-plugin-globalization)

### Step-by-Step instructions

Check the step-by-step instructions of how to implement translation in your Ionic 4 app on our blog - [How to translate in Ionic 4](https://medium.com/enappd/how-to-translate-in-ionic-4-globalization-internationalization-and-localization-31ec5807a8bc)
