• Resolved wepper

    (@wepper)


    Hello! I´m using WP Listings in a multilanguage site, and i managed to translate custom taxonomies and some property details using Loco Translate and Polylang, but still can’t find a way to translate default labels, including:
    – Property Type: / Beds: / Baths:
    – Description / Details / Photo
    – Contact Form: / Listing Inquiry / Name: / Email: / Phone: / Message:
    – Tagged Features
    – Search Widget: / Search Property / Search Listings (button).

    I tried to add them to POT file manually, but they don’t appear translated:

    #: includes/views/single-listing.php:52
    msgid “Property Type:”
    msgstr “”

    I wonder if there is any solution? I’m not a PRO, and i’ve studied and tried all the support topics, but can’t solve it. Thanks!

    https://ww.wp.xz.cn/plugins/wp-listings/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wepper

    (@wepper)

    Ok, after all i finally managed to translate them using pll_register_string, but now i have a problem of broken style, somehow plugin classes are not applied, could you tell me what’s wrong with it?

    if ( '' != wp_listings_get_property_types() ) {
    			$listing_meta .= sprintf( '<li class="listing-property-type"><span class="label">' .pll_e('Property Type: ', 'wp_listings'). '</span>%s</li>', get_the_term_list( get_the_ID(), 'property-types', '', ', ', '' ) );

    thanks!

    Thread Starter wepper

    (@wepper)

    Problem Resolved

    Hey wepper, I’m having the same issue – can you please help? What did you do?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Labels translation’ is closed to new replies.