Support » Plugin: Coupon Creator » Translation

  • Resolved cahaubold

    (@cahaubold)


    Hi

    I’m testing the plugin among some other and we wandered if it possible to use a Spanish version, we will buy/donate all plugins we use, but if I can not translate those 3 sentences, I’m afraid that I cannot show the plugin for approval.

    Is there any way to translate to Spanish the free version of your plugin?

    Best regards
    Carlos

    https://wordpress.org/plugins/coupon-creator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brian

    (@brianjessee)

    Hi,

    Thanks for the interest in the Coupon Creator.

    The plugin is fully translatable and could be done with PoeEdit. It does include some Spanish Translation on the front end as well, but it maybe incomplete at this point.

    You can also translate on WordPress.org:

    https://translate.wordpress.org/projects/wp-plugins/coupon-creator

    Also, the Pro version does have an option to change the wording for the following text on the front end:

    “Change “Expires on:”,
    “Click to Open in Print View”
    “Print the Coupon”

    There is a guide to do that here:
    https://couponcreatorplugin.com/knowledgebase/using-pro-text-overrides/

    Let me know if you have any follow up questions.

    Indeed it have the translation in the po file, I first went there triying to translate those texts, then I found that even that the traslatikn exist te text on the coupons are still in English, I thought it nay be a bug or thomethin left behind, you can try yourself seting the language of WordPress to Spanish an the see what the coupon look likes

    Thank for responding so fast
    Regard
    Carlos

    Plugin Author Brian

    (@brianjessee)

    Hi,

    I see it now. Yeah for some reason it is no longer loading correctly.

    I found a solution, but I would like to do some more testing on it and with WordPress 4.6 before I release.

    In the mean time if you add the following:

    add_action( 'plugins_loaded', 'temp_cctor_load_textdomain' );
    function temp_cctor_load_textdomain() {
      load_plugin_textdomain( 'coupon-creator', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }

    To the end of this file:

    wp-content\plugins\coupon-creator\coupon_creator.php

    That worked for me to enable the translation.

    Then on the next version it will be fixed.

    Let me know how that works out for you.

    Thanks

    Brian it works fine, now the coupon can be seen in Spanish, by the way, the es-po file has an error, It should be Clic instead of Cic.

    Best Regards
    Carlos

    Plugin Author Brian

    (@brianjessee)

    Hi,

    Glad it is working.

    I fixed the typo as well and will include it with the next release.

    Thanks again for bringing this up.

    Cheers

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