Support » Plugin: Compare Products for WooCommerce » Plugin translation

  • Resolved elena.miteva

    (@elenamiteva)


    I have managed to translate some parts of the plugin by using the .po/.mk files, but not everything. I can’t find the strings for:

    X was successfully added to comparison list
    X was successfully removed from comparison list.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Pablo Pacheco

    (@karzin)

    Hi @elenamiteva,
    Thanks.

    Actually there is an issue with this plugin regarding translation. Looks like it’s not ready to be translated from translate.wordpress.org

    We are going to fix that and let you know when it’s ready so you will be able to translate from there.

    But anyway, thanks for the translation.

    I have installed the update for the plugin and also visited translate.wordpress.org to contribute to the translation, but still I can’t find the string for:

    Product X was successfully added to comparison list
    Product X was successfully removed from comparison list.

    This is the text that shows in the e-shop after the product is added or removed from the comparison list.

    Is it possible to add these 2 strings manually to the .po file?

    Elena

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Thanks @elenamiteva,

    You are right, they are missing. We are going to fix that on next version. Sorry for that.

    Meanwhile, you can change it by yourself through this file: classes/class-alg-wc-cp-comparison-list.php

    Replace line 193 by:

    $message = sprintf( __( "%s was successfully added to comparison list.", 'compare-products-for-woocommerce' ), "<strong>{$product->get_title()}</strong>" );

    And line 203 by:

    $message = sprintf( __( "%s was successfully removed from comparison list.", 'compare-products-for-woocommerce' ), "<strong>{$product->get_title()}</strong>" );

    After that, open your po file on Poedit, refresh it and these strings will be there.

    Thank you

    Plugin Contributor Pablo Pacheco

    (@karzin)

    Hello @elenamiteva,

    Now that we’ve updated the plugin to version 1.1.3, these translation strings you mentioned are now ready.

    Please, update the plugin on your site to version 1.1.3 when you have some time.
    Thanks

    Plugin Contributor Pablo Pacheco

    (@karzin)

    I will close this ticket. If you have any other problem feel free to report.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin translation’ is closed to new replies.