When I click a category link on my theme, the title of my page is “Category: NAME”
I don’t understand, as I use French language for WordPress, why it is not “Catégorie : NAME” as Loco Translate Tool says the string “Category: %s” is translated by “Catégorie : %s”.
So I use my own “get_the_archive_title” with a filter :
add_filter( 'get_the_archive_title', 'my_archive_title');
That is just a question ! Why theses strings in get_the_archive_title() are not directly translated ?
They are translated, there must be something wrong with your site.
This is s a screen shot of a new empty site language set to Francais
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install and activate “Health Check”:
It will add some additional features under the menu item under Tools > Site Health.
On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off and switch between themes, without affecting normal visitors to your site. This allows you to test for various compatibility issues.
There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at
I’ve tested what you say : disable plugins, use default theme, but nothing works for me !
So I tried to reinstall WordPress and all is quite good now.
Thanks @alanfuller
- This reply was modified 52 minutes ago by pwozniak89.