• Resolved [email protected]

    (@korbinianvonblanckenburgde)


    Hallo!
    Eigentlich eine ganz einfache Frage, aber ich schaff es nicht. Wie kann ich Formulierungen ?ndern? z.B. den Hinweis wenn man bezahlen will: “Bereits registriert? Zum Anmelden bitte hier klicken” oder den text: “Wenn Sie schon einmal bei uns bestellt haben, geben Sie bitte Ihre Details in die Felder unten ein. Falls Sie ein neuer Kunde sind, fahren Sie bitte fort mit dem Bereich ‘Rechnung & Versand’.” ?

    Es sind nur kleinere Anpassung, aber ab und zu würde ich die Formulierungen gerne ein wenig anpassen…

    Danke für Hilfe!

    https://www.ads-software.com/extend/plugins/woocommerce-de/

Viewing 15 replies - 1 through 15 (of 23 total)
  • These are English language forums. Please use English.

    Thread Starter [email protected]

    (@korbinianvonblanckenburgde)

    well its a questions for Germans only. However:

    Hello!
    Actually a very simple question, but I do not know how I can change the german sentences? e.g. Note if you want to pay: “Bereits registriert? Zum Anmelden bitte hier klicken” or the text: “Wenn Sie schon einmal bei uns bestellt haben, geben Sie bitte Ihre Details in die Felder unten ein. Falls Sie ein neuer Kunde sind, fahren Sie bitte fort mit dem Bereich ‘Rechnung & Versand’.”?

    There are only minor adjustment, but now and then I would like to change the wording a little …

    Thanks for the help!

    You could try posting on https://forum.wpde.org/

    Dear Forum Moderator, this is a German Language Plugin. And this is the Place to discuss Errors and Questions, I think. Am I wrong?

    If this is a specifically German language plugin, then it should be discussed on https://forum.wpde.org/

    Post here should be in English.

    Plugin Author David Decker

    (@daveshine)

    @esmi:
    Sorry, but this is the TIED support forum for this plugin!
    I already have stated in the plugin description that users should post here in ENGLISH. Please have a litte grace on them ?? Thanks!

    At this URL you suggested (forum.wpde.org) I WON’T EVER support my plugins as this forum is managed by a company and has nothing to do with this plugin here.

    Thanks, Dave ??

    Plugin Author David Decker

    (@daveshine)

    @korbinian:
    Sorry, I seem to have missed your feedback here…
    You can only change this by using your own custom translations and place them in

    /wp-content/themes/aktives-theme/woocommerce/sprachdatei/woocommerce-de_DE.mo

    Or you have to use some custom code with a gettext filter – that would be the most elegant solution and doesn’t effect on plugin updates.

    For that you can contact me via my personal site at: https://deckerweb.de/kontakt/ — and I’ll help you then in German language with custom snippets.

    Thanks, Dave ??

    Plugin Author David Decker

    (@daveshine)

    In a general update:
    My plugin was updatd to v3.0.0 yesterday!
    Some important changes:
    the path for custom translations files has changed to:

    /wp-content/languages/woocommerce-de/custom/

    —> place own language files there — file naming convention is the same as in WooCommerce itself!!!

    The old path ( /wp-content/themes/aktives-theme/woocommerce/sprachdatei/woocommerce-de_DE.mo ) from former plugin versions is still supported but could potentially be removed later this year.
    It’s way better to place custom files in WordPress languages folder as this one is theme-independent – which is the reason for the change.

    Hope this helps you.
    Thanks, Dave ??

    Currently I use the functions.php file of my theme for specific translations which works well but not for the word “Category” which is displayed on a product page.

    function kia_text_strings( $translated_text, $text, $domain ) {
    
            switch ( $translated_text ) {
    
                case 'Checkout' :
    
                    $translated_text = __( 'Kasse', 'theme_text_domain' );
                    break;
    
                case 'Search Products' :
    
                    $translated_text = __( 'Produktsuche', 'theme_text_domain' );
                    break;
    
                case 'Category' :
    
                    $translated_text = __( 'Kategorie', 'theme_text_domain' );
                    break;
    
            }
    
        return $translated_text;
    }

    How can I translate that word?
    Thanks!

    Plugin Author David Decker

    (@daveshine)

    @dem0nstar:
    Please start a new thread here for every issue, otherwise new users get confused of too long threads with multiple topics. One topic/issue = one new thread!

    Back to your issue:
    This is not related to my plugin and a more “general” topic. I see you’re already using a Gettext filter which is great and recommended for such things here!! ??

    Why it’s not changing your category string, I just don’t know. I have to know your setup to be more specific…

    What is the URL of your site? Could you give a specific link where you want things to change/edit?

    Also, what theme you are using?

    If your theme has own templates with own translation strings or other textdomain than “woocommerce” it could be that you have to change your filter function.

    Your code above uses ‘theme_text_domain’ which is not used by WooCommerce plugin or my language pack plugin. Is that the textdomain of your theme? If so, then your issue seems more theme related anyways.

    I hope this helps for the moment.

    Thanks, Dave ??

    Thanks for help and sorry for not starting a new thread.
    The first two entries in the code above work but not the last one.

    I am using the theme “Mystile” and you can see the word “Category” on https://demo2.woothemes.com/mystile/shop/castillo-cap/
    Do you know how I can translate it?
    Thanks in advance!

    Can you help me with this David?

    Plugin Author David Decker

    (@daveshine)

    @dem0nstar
    Yes, that’s possible, I guess I have something to test for you tomorrow – then I have more time. This week is a bit hard, business-wise for me… total stressed out. I’ll test & post a snippet tomorrow (Wednesday).

    Thanks for the patience, Dave.

    Great, thanks in advance!

    Plugin Author David Decker

    (@daveshine)

    @dem0nstar:

    Could you please try this snippet:
    https://gist.github.com/deckerweb/5163870
    —> just paste into functions.php (but without the first “< ? php” part!)

    To change things you can replace “Category” with another string and also translation with “Kategorie” if you want.
    Notice: The original string must be within the WooCommerce translations, that means must exist in WC plugin or your theme with text domain “woocommerce”. Then it should work.

    Sorry for the delay, Dave ??

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Plugin: WooCommerce German (de_DE)] Wie kann ich Formulierungen ?ndern?’ is closed to new replies.