• Resolved soralsokal

    (@soralsokal)


    Hi,

    the plugin changes the terms “Sale” on product detail pages to “Aktion”.

    I want the string to show the original, meaning “Sale”.

    Where can I customize this? I have the most recent version and am using the Sie version. So I went to the folder “wc-pomo-20x”, edited “woocommerce-de_DE.po” and changed “Aktion” to “Sale” in PoEdit. But it didn’t change the string?

    Has anyone some ideas on how to do this?

    Best, Robin

    https://wordpress.org/plugins/woocommerce-de/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Decker

    (@daveshine)

    @soralsokal:
    Hi Robin!
    Thanks for your feedback!

    For WooCommerce 2.1+ use this folder’s files:
    wc-pomo

    For WooCommerce 2.0.x use this folder’s files:
    wc-pomo-20x

    If saving with Poedit make sure the setting is set to “Create .mo file on saving” — always upload both files, especially the .mo file!

    However, to change THIS special string, better use the filter for that:
    Use my code from here, paste in your functions.php of theme or child theme (make file backup before!), but without first “< ?php”:
    https://gist.github.com/deckerweb/6356966

    —> Change the word from “Aktion” to “Sale” or whatever.

    Good luck!
    –Dave 🙂

    Thread Starter soralsokal

    (@soralsokal)

    Hi Dave,

    thank you for your effort and fast support!
    It took me 1 minute to change it and works perfect. Thank you again!

    Btw, I found that in Paymill the string ‘cardholder name’ was not translated into e.g. ‘Name auf der Kreditkarte’. Not sure wether this is included in your plugin, just wanted to let you know.

    Best, Robin

    Plugin Author David Decker

    (@daveshine)

    Hi Robin!
    Thank you – glad it worked for you 🙂

    As for Paymill extension I currentyl only have this one included: “WooCommerce Paymill Gateway” (premium, via CodeCanyon Marketplace – user ‘kprimdal’) —> If you are using this one I might look if there are updated strings 🙂

    For more extensions translations: a lot more are planned for a premium add-on to the language pack plugin… 🙂

    Thanks, Dave 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change translation of "Aktion" => "Sale"’ is closed to new replies.