Google Translate: You can use the Google Translate API to add a translate widget to your website. The widget allows visitors to translate the website’s content into their preferred language.
Third-party translation tools: There are many third-party tools available that allow you to add a translate widget to your website, TranslatePress, and TranslateWP.
Custom solution: You can also develop a custom solution using JavaScript or any other programming language. This will give you complete control over the look and functionality of the widget, but requires a higher level of technical expertise.
Whichever method you choose, it’s important to test the widget thoroughly to ensure that the translations are accurate and the widget integrates smoothly with the rest of your website.