I think you want to have a look at the language customization feature.
https://docs.moodle.org/39/en/Language_customisation#Changing_words_or_phrases
It's not necessary to change strings in the code.
If you do make changes in the code, make sure you clear all caches afterwards (via the admin menu).
https://docs.moodle.org/39/en/Language_customisation#Changing_words_or_phrases
It's not necessary to change strings in the code.
If you do make changes in the code, make sure you clear all caches afterwards (via the admin menu).