As shown below for the "Site Internet" category of my wife's blog, the subtitle "There are 2 posts filed in " is not translated:
This is also the case of pages presenting the post of a month as shown below (There were...):
I realise that the page "Nothing Found" is also not translated as shown below (while the text is available in the fr_FR.po file):
Ahh, it looks like there was a mixup with the text-domain that I used for translations. Some code uses independent-publisher and some of it uses independent_publisher (with the underscore), so when I generated the default language files (using independent-publisher), a bunch of the translate strings did not get included. A dumb mistake on my part!
I'm fixing this now and will submit a new version for release to WordPress.org. Thanks so much for reporting this!
Fix inconsistent text-domain by using 'independent-publisher' everywhere
@EddyLB I fixed the inconsistent text-domain usage, however I realized that you may have run into a different issue.
It looks like you're using POEdit to generate your translation file. For the translation functions that support plural form (e.g., _n()), you need to tell POEdit that the function supports plural form by adding :1,2 to the function (e.g., _n():1,2):
When you do that and then click "Update" to refresh, POEdit will display two boxes for any strings that contain a singular and plural translation:
I'm pretty new to translations, so I'm only now learning about all this. It's amazing how difficult it is and how little real information there is out there to help.
Can you let me know if this fixed your problem? Also, if you can regenerate the French translation and submit a Pull Request, I will make sure that goes into the next theme update. I will wait for your updated translation before submitting the new update to WordPress.org.
Oh, I forgot to mention that you can grab a copy of the latest theme files here and use that to regenerate and submit the updated French translation.
Update default language files to include plural strings. See #75
@EddyLB I realized that I needed to make those changes in POEdit and then regenerate the default .po file so that it would also include the plural strings. Commit d7bc31d does exactly that and you'll now find both strings in languages/default.po. For example:
msgid "There was one post published in %2$s."
msgid_plural "There were %1$s posts published in %2$s"
* Fixes #82
* Fixes #75
* Fixes #72
* Fixes #35