How to do global level change for IonicPage navParams ? Whether I am passing from another page or whether user types in for browser It should always be read and changed to lower case .

Is there any way to do so ?

lets say : my app URL is : https://www.abcd.com/en and https://www.abcd.com/fr however if user types in manually EN --> it should automatically read and convert to en this is not only for one page or one place otherwise I can manually convert toLowerCase() However is there any property or any option we can pass so it will automatically be read always as lowercase