Globalization
This plugin obtains information and performs operations specific to the user's locale, language, and timezone.
Premier Version Available
Featuring regular release cycles, security and bug fixes, and guaranteed SLAs.
Installation
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms
- Amazon Fire OS
- Android
- Browser
- iOS
- Windows
Usage
React
Angular
import { Globalization } from '@ionic-native/globalization/ngx';
constructor(private globalization: Globalization) { }
...
this.globalization.getPreferredLanguage()
.then(res => console.log(res))
.catch(e => console.log(e));