ナビゲーションをスキップする

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using the Events Manager plugin, some strings for the search form (e.g., “Search,” “Near…,” “Dates”) appear untranslated on the front-end, even though translations exist in WPML String Translation.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Go to WPML > Settings > Custom XML Configuration page.
  • Add the following XML:
    <wpml-config>
    	<admin-texts>
        <key name="dbem_search_form_text_label"/>
        <key name="dbem_search_form_text_label_advanced"/>
        <key name="dbem_search_form_submit"/>
        <key name="dbem_search_form_geo_label"/>
        <key name="dbem_search_form_dates_label"/>
        <key name="dbem_search_form_dates_label_advanced"/>    
        <key name="dbem_search_form_countries_label"/>
        <key name="dbem_search_form_advanced_show"/>
        <key name="dbem_search_form_category_label"/>
        <key name="dbem_search_form_categories_label"/>
        <key name="dbem_search_form_tags_label"/>
        <key name="dbem_search_form_tag_label"/>
        <key name="dbem_search_form_tags_placeholder"/>
        </admin-texts>
    </wpml-config>
    
  • Return to WPML > String Translation page and translate your strings.

返答する

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

これらのタグを使用できます:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>