Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Allow translation of search widget taxonomy labels #27

Closed
wants to merge 1 commit into from
Closed

Allow translation of search widget taxonomy labels #27

wants to merge 1 commit into from

Conversation

nickcernis
Copy link
Contributor

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.

Search widget taxonomy labels can be translated via WPML only 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.
@ghost
Copy link

ghost commented Nov 27, 2017

I'm stuck at this point. I've tried this solution with no luck. I can translate all the fields except for the first value for each select field.
Any idea?

@nickcernis
Copy link
Contributor Author

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant