• Resolved Wilfredo Perozo

    (@wiljope007)


    Greetings friend! With Loco translate, many sentences have been translated. However, the following does not:

    Your Payment Is Required

    Please complete payment for the ‘GATOPOLOg’ Ad posting to have it published.

    I have tried to translate it into Spanish several times and nothing. What do you recommend me? Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    currently, this phrase is not marked for translation correctly i am afraid, it will be fixed in next WPAdverts release.

    In the meantime, you would need to open a file wpadverts/includes/shortcodes.php go to line about 95 and do the translation there.

    Thread Starter Wilfredo Perozo

    (@wiljope007)

    Ready Greg, you are a genius. Thank you!

    Thread Starter Wilfredo Perozo

    (@wiljope007)

    Greg excuse me, I did just like that and I solved it. But after updating WPadverts, I lost the translation and now I try again as I explain and do not take the translation made directly … .

    Thread Starter Wilfredo Perozo

    (@wiljope007)

    This was the change from Spanish to English, but it still comes out in English, although before updating if I took the translation directly :

    `$adverts_flash[“info”][0] = array(
    “message” => sprintf( __( “<p>Su pago es requerido<p>Complete el pago de la publicaci贸n del anuncio ‘%s’ para que se publique.</p>”, “adverts” ), $post->post_title ),
    “icon” => “adverts-icon-basket”

    Plugin Author Greg Winiarski

    (@gwin)

    The changes you are doing in original WPAdverts files will be always overwritten on the plugin update, you should only do it in case there is a bug which will be also fixed in next release (like phrase not marked for translation).

    It seems you made the change in wpadverts/addons/payments/includes/shortcodes.php file, this file is run only when accessing [adverts_payments_checkout] shortcode, you will most likely want to translate this phrase in wpadverts/addons/payments/payments.php file.

    BTW. Please note that in the last release this phrase was marked for translation so you should be able to translate it using Loco Translate and you should no longer need to modify original files.

    Thread Starter Wilfredo Perozo

    (@wiljope007)

    Ready! I did it directly, since I do not get the option in loco translate. Thank you!

    Plugin Author Greg Winiarski

    (@gwin)

    Please note that if you do not see the phrase in Loco Translate then when doing the translation for WPAdverts you can click the Sync button it should find the missing phrases.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Loco translate does not translate some phrases’ is closed to new replies.