Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13352

    I am installing my site in german, and I am using the woocommerce translation files. Everything seems to be working but in the header the cart, does not translate

    Is there a way to change it manually?

    here’s my site http://www.young-passion.de

    #78882

    Abundance supports .po/.mo translation files. To use them please unzip the po file and open it with Poedit (http://www.poedit.net/download.php). Now translate all text strings. Save the translated text strings under following name “your-language-shortcut.po” . Assuming you come from Sweden save it under: sv_SE.po, if you’re from Germany de_DE.po

    A list of language shortcodes can be found here: http://codex.wordpress.org/WordPress_in_Your_Language

    At least you must save/upload/copy the generated .mo file in your theme main folder.

    Attention: WordPress will only use the translation file if you set the right backend language: http://codex.wordpress.org/Installing_WordPress_in_Your_Language

    Please upload your translated files (by using one click hosters like http://mediafire.com ) and post a link here. It will save other users a lot of time and maybe you’ll get some feedback (i.e. suggestions how to improve your translation, etc.).

    Default, untouched english po file – use it to translate Abundance to your language. You can find them in the “lang” folder (wp-content/themes/abundance/lang is the default path).

    #78883

    @ Dude,

    It seems like kriesi forgot to add “Cart” translation string to the .po/.mo files…because I can’t find “Cart” inside the .po file?

    @ jklupfel,

    Look for line 393 in the config.php found under wp-content/themes/abundance/woocommerce-config/

    $output .= "<a href='".$link."'>".__('Cart', 'avia_framework')."</a><span class='cart_subtotal'>".$cart_subtotal."</span>";

    and change ‘Cart’ to ‘warenkorb’

    Also the “search site” text in the search box doesn’t get translated with the .po file to change this look for line 4 in the searchform.php found under wp-content/themes/abundance/

    <input type="text" id="s" name="s" value="search site"/>

    and change “search site” to “suchen”

    Hope this helps!

    Greetings,

    WarriorSan

    #78884

    Hi WarriroSan,

    Thanks for the additional changes! I’ll add these to my personal snippets file and send the changes to Kriesi so he is alerted to them as well :)

    Thanks again,

    Devin

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘change cart in header to Warenkorb’ is closed to new replies.