delas2010
Forum Replies Created
-
Hi,
I already translated in french with Poedit.
in languages/plugins directory I have this file : learnpress-fr_FR.po wich contain some translation.
Most of translation works.
But somme translation doesn’t work.
The issue is with the translation in content-protected.php (\wp-content\plugins\learnpress\templates\single-course).
in the php file I can see the string “This content is protected, please login and enroll course to view this content!”.
in the .po file I can see the translation “This content is protected, please login and enroll course to view this content!” translated in “Ce contenu est protégé. Veuillez vous connecter et vous inscrire au cours pour voir son contenu!”.
But In my site, I continue to see “This content is protected, please login and enroll course to view this content!” in english!
whereas most of english text is translated.
Perhaps there is an issue with php file ?
why translation doesn’t work with this string, it’s present in learnpress-fr_FR.po…
can you help me please ?resolved
outch…
I’ve just find
It’s so easy.
sorryMy site isn’t online.
it’s on local webserver for the moment.I find by using :
.course-instructor {
display: none !important;}
It’s not very nice but it works!!!I tried this:
It doesn’t work as well.course-instructor {
display: none;
}if I try
.course-info {
display: none;
}the instructor name disapear but the price disapear too and I want to see the course price !!
if I try this:
.course-instructor {
font-variant: small-caps;
}
I can see the small caps.so why
.course-instructor {
display: none;}
doesn’t work ????