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

jasonchu1 on "[Plugin: Polylang] Frontend strings translation"

$
0
0

HI Chrystl

Thanks again for the quick reply!

I created a wpml-config.xml file and used the code you gave me, also i added in the price range and length of stay, and it worked perfectly!! Thank you!
But I just couldn't find any options for the Locations. see here
I tried to use the same code as apartment type and price range... still didnt work.

<key name="locations">
     <key name="labels">
	   <key name="name" />
	   <key name="singular_name" />
	   <key name="menu_name" />
	   <key name="search_items" />
     </key>
</key>

Maybe it is because those taxonomies(apartment type and price range etc.) were I added manually, but Locations is came with the plugin originally.
So in this case, is there anything i need to change?

And about those grey tabs i mentioned before, I also couldnt translate those. I tried to use something like this:

<custom-fields>
       <custom-field action="translate">Description</custom-field>
       <custom-field action="translate">amenities</custom-field>
</custom-fields>

but didnt work. ( those tabs id is "listing-tabs" , class is "listing-data" )
I also tried:

<key name="listing-tabs">
       <key name="listing-description">
       <key name="listing-data">
               <key name="name" />
               <key name="singular_name" />
               <key name="menu_name" />
               <key name="search_items" />
</key>

didnt work either... here is where i fill the description so i guess that shoulnt be a taxonomy.

Also about the Property types, Im sorry I copied the wrong one - I dont use that one, I use the "Apartment type", which i created before. but this one works thats ok.

I've been trying to figure this out almost the whole day, but still dont know how.
anyway, Thanks again for the reply! at least im making progress!

Cheers!


Viewing all articles
Browse latest Browse all 11471

Trending Articles



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