• Resolved kappat745

    (@kappat745)


    Hello, i am using the free version of the plugin. I have a problem with the translation of the form in the request a quote page. In particular the field title “Message” and the placeholder “Notes on your request…” , i noticed that there are .po files in the directory wp-content/plugins/yith-woocommerce-request-a-quote/languages that contain these texts but they do not work, if i change the translation (to italian in the file yith-woocommerce-request-a-quote-it_IT.po) nothing happens. I also have polylang pro and the strings are not present in their translation tables… how do i change the translation then?

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @kappat745

    you could try using Loco Translate, this should help.

    Thread Starter kappat745

    (@kappat745)

    Hello, thanks for your reply.

    I was hoping it could be done without installing another language plugin (that i have already), since the plugin have this texts in the .po files i find it weird that they don’t work.

    For reference, these are the lines of the php file yith-woocommerce-request-a-quote\templates\request-quote-form.php

    <label for="rqa-message" class=""><?php esc_html_e( 'Message', 'yith-woocommerce-request-a-quote' ); ?> </label>
    <textarea name="rqa_message" class="input-text " id="rqa-message" placeholder="<?php esc_html_e( 'Notes on your request...', 'yith-woocommerce-request-a-quote' ); ?>" rows="5" cols="5"></textarea>

    These lines are somehow translated in italian somewhere, but apparently don’t come from the .po files, even tho the exact same texts is present in the file yith-woocommerce-request-a-quote-it_IT.po

    Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @kappat745

    you could check if in the wp-content/languages/plugins folder there’s some file related to the plugin.

    Please also note that the plugin now uses the new performing translation system, so changing the .po file inside the plugin is not enough because there’s a PHP file that needs to be compiled.

    So an change to the translation should be placed inside the wp-content/languages/plugins folder

    Thread Starter kappat745

    (@kappat745)

    Oh you were right, the .po files to edit were indeed in the wp-content/languages/plugins folder.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.