Already followed the language installation and configuration instructions and still not reached an acceptable result? Perhaps the item that you want to overwrite is so-called language override!
I'll show you how to change it on the JM Commune Office template.
https://www.joomla-monster.com/documentation/template-tutorials/how-to-override-translation-in-joomla-3-template
https://www.joomla-monster.com/documentation/template-tutorials/how-to-override-translation-in-joomla-3-template