@a. M. M.:
Hi there,
thanks for your feedback!
The length of translated texts depend on the original – and German translations tend to be always longer than their English originals, often times doubling the length…
In your case you have 3 alternatives:
1) Change the CSS of your theme – since all design/ display depends on your theme! This is the recommended and best alternative to do!
2) Maintain your own translation – my plugin supports files in other locations, see “Installation” tab on plugin page: http://wordpress.org/plugins/woocommerce-de/installation/
3) Use a filter hook from my plugin and this example code: https://gist.github.com/deckerweb/8c1a5a0398fd4719befb
–> paste from line 6 onwards into the functions.php of your theme or child theme (make file backup before!), or better into a custom plugin or snippet manager
–> change text to your liking, it’s line 31
Hope that helps, Dave 🙂
Hey Dave,
I tried your solution und #3 but it isn’t working for me (with the latest WCDE in place). The new text I want to display is:
$string = 'Ich habe folgende Bedingungen und Informationen gelesen und bestätige diese hiermit: <a href=\"%s\" target=\"_blank\">AGB und Kundeninfo</a>';
Thanks!
@liqvid:
Please try to enable in my plugin settings the first one of the “string swap” settings (vorletzte Einstellung). Does that help?
Thanks, Dave 🙂
I’m sorry, can’t try that, cause I hardcoded the text into the site in the meantime…
I tried #3 as well and also enabled “string swap”. Still not working.
I used a snippet to try and change the text.