studiopress / agentpress-listings

AgentPress Listings
http://wordpress.org/plugins/agentpress-listings/
GNU General Public License v2.0
9 stars 11 forks source link

Allow translation of search widget taxonomy labels #27

Closed nickcernis closed 4 years ago

nickcernis commented 8 years ago

Allows search widget taxonomy labels to be translated via WPML by following these steps:

a. Ensure that WPML Multilingual CMS and WPML String Translation are installed and active. b. Define your Listings taxonomies at Listings → Register Taxonomies. c. Visit WPML → Translation Options, and ensure that your listings taxonomies are set to “translate”. d. Visit WPML → Taxonomy Translation, and provide translations for all of your listings taxonomies.

This is one solution to the issue raised in #26.

ghost commented 6 years ago

I'm stuck at this point. I've tried this solution with no luck. I can translate all the fields except for the first

nickcernis commented 6 years ago

@uritzo The above steps combined with replacing the file at wp-content/plugins/agentpress-listings/includes/class-property-search-widget.php with this version still work for me.

Taxonomy translation settings:

taxonomy_translation_ _wp_test_ _wordpress_and_allow_translation_of_search_widget_taxonomy_labels_by_nickcernis_ _pull_request__27_ _copyblogger_agentpress-listings

Result:

hallo

If it's still not working for you after retrying, I suggest following up with WPML support if you have not done so already – hopefully they'll be able to help correct your setup if needed.