[Plugin: Polylang] Translating a word in my theme ?
-
Hi,
Would someone be able to tell me how I could translate a word that is embeded in my theme ? I explain:
In the “template-home-alternative.php” file, there is this piece of code:<!--BEGIN #gallery-terms--> <div id="gallery-terms"> <ul> <li><a href="#">All</a><span>/</span></li> <?php wp_list_categories(array('title_li' => '', 'taxonomy' => 'photo-type', 'walker' => new Gallery_Walker())); ?> </ul> <!--END #gallery-terms-->
What I want to translate is the word “All” (line 4 of this piece of code) !
As it is not something written in the database, but in a php file, I tried to add the translation in the FR_fr.po which is at the root of my theme file like that:
#@ polylang
#: template-home-alternative.php:18
msgid “All”
msgstr “Tout”But just nothing is happening !!!
Could someone drive me in some direction ?
Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Polylang] Translating a word in my theme ?’ is closed to new replies.