1

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?

Devid Farinelli
  • 7,514
  • 9
  • 42
  • 73

1 Answers1

1

You should inject the $locale service and retrieve the device language using $locale.id


Erik Minarini
  • 4,795
  • 15
  • 19