Override default WordPress core translation
WordPress is set to Dutch language. When I use get_the_archive_title()
my theme correctly outputs "Categorie: Category-name" on a category archive page. However I'd like that to read "Sectie: Category-name".
I do not want to change the Dutch language file in the wp-content/languages folder, because that will be updated by WordPress updates.
I tried copying that translation file, altering the "category" translation and putting the new nl_NL.mo file into my-theme/languages. This did not have any effect.
How can I achieve a different translation for some strings without altering the core translation files?
Topic language translation Wordpress
Category Web