Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

1RONMAN_C on "Polylang&Avenue theme from web2feel - Listing translation"

$
0
0

Hi everyone!
I really-really need your help.
I am using wordpress theme called Avenue, this theme is from web2feel.
It's a real estate theme and it has listing in it. I want to translate this listing. But Polylang don't see the strings that I need to translate. Therefore I need to add them manually but I can't understand how I should do it. There is a file listhome.php, which contain all of them. Looks like this:

<div class="propmeta">
	<div class="proplist"><span>Price</span> <span class="propval"> <?php $price=get_post_meta($post->ID, 'wtf_price', true); echo $price; ?></span></div>
	<div class="proplist"><span>Bedrooms</span> <span class="propval"> <?php echo get_the_term_list( $post->ID, 'bedrooms', '', ' ', '' ); ?></span></div>
	<div class="proplist"><span>View</span> <span class="propval"><?php echo get_the_term_list( $post->ID, 'property', '', ' ', '' ); ?></span></div>
	<div class="proplist"><span>Area</span> <span class="propval"> <?php echo get_the_term_list( $post->ID, 'area', '', ' ', '' ); ?></span></div>
	</div>

I need to be able to translate the words "Price", "Bedrooms", "View" and "Area".
Please explain me, how can I add them to make it possible to translate them with a help of Polylang?
Thanks in advance and sorry if my english is too bad.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>