I have a dynamic WordPress site , and I want to provide it in more than one language, I searched for a way to add the ability to change the language without plugins, and I did not find it.
Is there a way to make the site’s language change when I add ?hl=en or ?hl=en
in the link like this?
https://www.example.com/?hl=en
https://www.example.com/?hl=fr
using php
Thanks
2
Answers
No, there is not currently a way to accomplish this without plugins, other third-party tools, or significant custom development. It is outside the scope of the framework. However, is there any reason you don’t want to use a plugin? There are many great options, many free. If you see the link below, those free options listed in my quote include a link to the plugins for easy access.
From the documentation:
Please follow the below step: