• Resolved mike86

    (@mike86)


    Thanks for this great plugin!

    How can I translate the “Text for mobile filter button” to different language?

    I have set the “Text for mobile filter button” text to be “Suodata” (in Finnish) but I also have WPML and English as a second language at my site. I didn’t find a way to translate that text from the plugin settings. I also tried Loco Translate plugin and WPML String Translation.

    Thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    This string is ready for translation, so delete your custom text – https://share.pluginus.net/image/i20241122115701.png

    And translate it into WPML like any other string

    Thread Starter mike86

    (@mike86)

    Thanks for the quick reply!

    I deleted the custom text from your plugin settings and now the “Text for mobile filter button” section is blank.

    I don’t see any text with the mobile_mode filter icon I could translate.

    I have this shortcode added if that helps:

    [woof sid=’generator_673f4311352eb’ autohide=’0′ autosubmit=’-1′ is_ajax=’0′ ajax_redraw=’0′ start_filtering_btn=’0′ btn_position=’b’ dynamic_recount=’-1′ hide_terms_count_txt=’0′ mobile_mode=’1′ ]

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Did you find these strings in WPML? “Open filter” “Close filter”

    Thread Starter mike86

    (@mike86)

    Hello

    I didn’t find those strings in WPML String Translation. I did find them in Loco Translate –> Plugins –> HUSKY – Products Filter Professional for WooCommerce.

    I have set the “Text to close mobile filter” to be -1 in the plugin settings so it is disabled.

    If I just could translate the “Text for mobile filter button” text into english also I would be so happy 🙂

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    This line is prepared for translation.

    Please try scanning the plugin with Loco Translate

    Read this – https://stackoverflow.com/questions/36055722/can-not-scan-some-string-in-wordpress-with-loco-translate-plugin-in-wordpress

    Thread Starter mike86

    (@mike86)

    I tried that but it didn’t work.

    I also added the “[woof_settings]text_mobile_behavior_open” to WPML String Translation and translated the “Open filter” text string but still it doesn’t work. Either it shows the same text string for both languages or it doesn’t show any text at all next to the filter icon in mobile view.

    Do you have something else I could try to fix this?

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    This string is ready for translation, and the translation plugin simply must see this string.

    Try in file – \plugins\woocommerce-products-filter\views\plugin_options.php – add this code – https://share.pluginus.net/image/i20241129125317.png

    if (!isset($woof_settings['text_mobile_behavior_open']) || empty($woof_settings['text_mobile_behavior_open'])) {
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Translating the “Text for mobile filter button” to second language?’ is closed to new replies.