Hello pre20,
Pour modifier le texte “Time to read” aller à /wp-content/themes/short-news/functions.php
(Ligne 655)
Modifier le “by” dans le fichier de traduction dans le /wp-content/languages/themes/short-news-fr_FR.po (par exemple)
Si ce fichier n’existe pas vous pouvez le créer avec Poedit à partir du fichier /wp-content/themes/short-news/languages/short-news.pot
https://www.designlabthemes.com/documentation/short-news-documentation
-
This reply was modified 7 years, 3 months ago by
Bruno_De.
hi @pre20,
please update the theme to the latest version.
We added missing translations for “Time to Read” and “words”.
To add translations please see the theme documentation:
https://www.designlabthemes.com/documentation/short-news-documentation/#doc_translation
I have the latest version and LocoTranslate can’t find “words” or “time to read” “less than” phrase to translate 🙁
-
This reply was modified 7 years, 2 months ago by
noupe.
@noupe
LocoTranslate n’a pas fonctionné pour mon site.
J’ai réussi à traduire “time to read” dans functions.php (Ligne 655) du thème et “less than” dans le fichier themes/short-news/assets/js/readingtime.js (Ligne 224)