You can add multiple languages to your keyboard for a convenient switch.
Path:
realme UI 5.0 & 4.0 & 3.0 & 2.0 & 1.0: Settings > System / Additional settings > Keyboard & input methods > Manage keyboards > Gboard > Languages > Add keyboard, Add the language you need.
realme R & Go & T & S & U Edition: Settings > System > Languages & input > On-screen keyboard > Gboard > Languages > Add keyboard, Add the language you need.