• Resolved bragatodaniela

    (@bragatodaniela)


    Hi,
    I have a problem to solve, I have a multilingual site (Italian default and English translation) with active plugin, everything works fine, the only thing that I can not translate is the writing in the button, obviously for convenience with the Italian I put in the plugin section “Cart Button Text” the word “Buy”, but I would like in English you see “Add to Cart”, how can I solve this?

    Thanks a lot
    Daniela

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hakik Zaman

    (@hakik)

    Hi @bragatodaniela

    Thanks for reaching out to me. I am sorry for your inconvenience.

    obviously for convenience with the Italian I put in the plugin section “Cart Button Text” the word “Buy”

    Changing that field from the plugin setting makes it a dynamic string. As far I know, you can translate hard string(/translatable string) but not the dynamic string.

    For this case, one solution is editing the POT file and translate “Buy” text manually. You can get a detailed demonstration here.

    In the coming version, I will try to give a filter hook to push a hard string(/translatable string) for the cart button.

    I hope it will help!

    Thanks

    Plugin Author Hakik Zaman

    (@hakik)

    Hi @bragatodaniela

    Please update to version 1.3.15 then you will get two source texts like this while translating PVT.

    Note: I have tested it with the Loco Translate plugin.

    Please keep in mind, maybe you have to delete your previous .po/.mo file to get those source texts. So, firstly get a backup of your .po/.mo files.

    I hope you will enjoy it.

    Thanks again for using this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PVT and WPML’ is closed to new replies.