By default, Firefox does not come with translation features. However, you can easily add such a feature by installing an add-on of your choice.
Language support extensions
You can explore language support extensions on addons.mozilla.org.
You can also search for translation tools that are part of Mozilla's Recommended Extensions program.