Hi,
I have a translation problem in cart-totals-block and checkout:
There is always written:
inkl. xx,xx€ MwSt. 19% (incl. amount VAT 19%).
Nobody would tranlate that like this 🙂
How can I change it to: “inkl. 19% MwSt.: xx,xx€” ?
Perhaps I could change it with the some code like this:
function translate_reply($translated) {
$translated = str_ireplace(‘Go to Checkout’, ‘Warenkorb anzeigen’, $translated);
return $translated;
}
The best way would be a new row at the end:
VAT xx,xx€
If that is an option…
Thx for your help 🙂
Sven
Hello,
Please update the theme to the latest version and Woocommerce as well.
Before update delete “woocommerce” folder in the directory wp-content/themes/legenda/ and it’ll be reuploaded from a new theme package.
Also update all required plugins http://www.8theme.com/download-plugins/ .
Don’t forget to create back up of your files and database before starting update process!
Then update woocommerce translation files in wp-content/languages/plugins directory.
Best regards,
Jack Richardson.
Hi Jack,
thanks for your help.
I think I made a mistake. I’ve updated the theme like in the video.
Now I get this alert:
Fatal error: Call to undefined function et_html_tag_schema() in /homepages/0/d611822547/htdocs/Original/wp-content/themes/legenda/header.php on line 2
How can I fix that?
Greetings, Sven
Hello,
Please provide FTP and WP Dashboard credentials in private content.
Best regards,
Jack Richardson.
Hello,
I don’t see any errors on your site and the words are translated on Cart page:
http://storage8.static.itmages.com/i/16/0531/h_1464689683_8113228_1ea9280e45.jpeg
Have you resolved the issue?
Best regards,
Jack Richardson.
Hi Jack,
that was another story… And it’s still incorrect 🙂
If the “19%” would be deleted it would sound correctly in German, it’s simply not in the right position (grammar problem). Correct would be: “inkl. 19% Mwst.:” and then the amount.
100% perfect would be on the left side “inkl. 19% Mwst.” and on the right side the amount.
In German Shops the VAT has in most cases his own row.
And now the upcoming errors:
First to know: I deleted the header.php which came with the update, and I uploaded the old header.php from the backup. That’s the reason why you and I can reach to the page at the moment. I can put in the new one if you want me to do this, then you can see the error like I’ve written before:
Fatal error: Call to undefined function et_html_tag_schema() in /homepages/0/d611822547/htdocs/Original/wp-content/themes/legenda/header.php on line 2
The second error is on single product page. Here comes the second Error:
Fatal error: Call to undefined function et_page_heading() in /homepages/0/d611822547/htdocs/Original/wp-content/themes/legenda/woocommerce/single-product.php on line 20
Thanks for your help!
Greeting Sven
Hello,
You’re still using old theme version http://storage1.static.itmages.com/i/16/0531/h_1464702923_5180469_391ba2e54d.jpeg .
Please update the theme to the latest version 3.0.1.
Before update delete “woocommerce” folder in the directory wp-content/themes/legenda/ and it’ll be reuploaded from a new theme package.
Best regards,
Jack Richardson.
Hi Jack,
Ok. I didn’t recognize that, but perhaps we found the problem.
I think I made a mistake while doing the update, now it’s done.
Last question:
You wrote “Then update woocommerce translation files in wp-content/languages/plugins directory.”
How do I do that?
Greetings Sven
Hello,
Please read here how to update .po/.mo files:
http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./ (“Updating a .po (and .mo) file”).
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.
Purchase code | Expiration date |
---|---|
817e8a3b-18c8-492c-8ba6-9188c27b0995 | 05 Jan 2017 |