The Google Chrome browser has an built in option to translate a webpage to another language.
However if you want to translate part of a webpage or selected text, you can install the Google Translate extension from Google which allows you to highlight text and click on the translate icon (or right click) to translate the selected text.
For Mozilla Firefox, several translator addons/plugins exist ; a popular one is Google Translator for Firefox by which can be used to translate highlighted text using the Google Translate service or entire pages via the icon it installs on the menu bar. This tool can also be used by using the contextual menus via the mouse. Another useful one is ImTranslator for Firefox which can translate selected portions of selected text on a webpage using Google Translate or Microsoft translate or entire webpages with Google Translate.
Microsoft has Translator for Microsoft Edge