I just saw that there are several MO/PO files in the lang directory but I can’t see how to display a specific language for the theme (French). For example the “By author” would be replaced automatically by “Par auteur”.
Thank you in advance for your answers and thanks for this awesome theme !
I have a similar problem.
My Wordpress-installation is in Norwegian; but the translationonly kicks in on certain words/sentences, allthough all sentences seem to be translated in the .po-file.
For example: The search template says “Search results for:” in English, and then “We’re sorry, we could not find etc.” in Norwegian. In the po-file the translations seem correct.
The search results use printf to format the results so make sure the .po file msgid is identical to the Roots string format i.e. Search Results for: %s will work, whereas Search Results for: will not (notice the dropped %s, you may need to double check if there’s a colon or not).
If that is the issue a PR on Github would be very much welcome.
Open roots.pot file with Poedit and old translation with some editor. Copy all good translations and add new ones to Poedit. Save with your language extension.
This does not provide you with a language swatch of any means, but it will load the appropriate translations provided your template uses gettext() functions.