But in the browser (Google Chrome), it outputs cordova_not_available to the console.
This is unexpected because the official doc for this plugin specifies that it works inside a browser and should return the same result as getLocaleName().
I don’t believe it’s “fixable”, due to the way cordova is architected. Cordova plugins require some sort of backend to implement themselves, and ionic serve doesn’t provide any infrastructure for one.
as there are some differencies between ionic serve and ionic cordova run browser one option is to mock the plugin -
if no too complex config is required this may be an option.