In ionic navigator.language
returns en-US
on the browser and zz-ZZ
on my Android device.
I've read that it is called Pseudolocalization.
Why does it happen? How can I get the real device language?
In ionic navigator.language
returns en-US
on the browser and zz-ZZ
on my Android device.
I've read that it is called Pseudolocalization.
Why does it happen? How can I get the real device language?
Copyright © 2021 Jogjafile Inc.
You should inject the
$locale
service and retrieve the device language using$locale.id