Change Language - by Tobio - on WordPress WooCommerce support

This topic has 7 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp

  • Avatar: Tobio
    Tobio
    Participant
    July 31, 2014 at 21:34

    Hello,

    where i can change the text into German for:

    “Your Acount” “Logout” “Shopping Cart” in the top navigation
    “Categories” in the shop navigation
    “View As” in the View and Grid View

    Hope everything is clear
    Thank you.
    Best Regards

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 31, 2014 at 21:54

    Hello,

    The text “Your Account”, “Logout” can be translated in the file et-links.php located in the directory wp-content/themes/idstore.
    “Shopping Cart” is written in the file wp-content/themes/idstore/code/woo.php (line 59).
    “Categories” title is written for the widget you’re using in Appearance > Widget > Product Page Sidebar.
    To translate “View As” text you need edit the file wp-content/themes/idstore/code/woo.php (lines 548, 554).

    Regards,
    Eva Kemp.

    Avatar: Tobio
    Tobio
    Participant
    July 31, 2014 at 22:05

    Wow! That was fast!
    Thank you very much!

    But to keep the translation after an update i can recoment your documentation 🙂

    The translation file you can find in languages folder (/wp-content/themes/idstore/languages). Edit the .pot file using POEdit, use the translation field to make replacements. Read here how to do it right.
    
    From the file menu, save file with your language name e.g de_DE.po into languages folder. It will generate both a .po and .mo file for your translation.
    
    Next edit wp-config.php located in the root folder of wordpress and define the WPLANG prefix with your language name which should be similar to the translation file name.

    Awesome documentation!!!

    Avatar: Tobio
    Tobio
    Participant
    July 31, 2014 at 22:24

    Ok i used the tool POEditand translated all words that have “categorie” in it.
    And i checked the widget area but there i cant change the text because i see nothing.

    The text “Categorie” in my shop navigation is still in english.
    Please help.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 1, 2014 at 06:20

    Hello,

    You can edit this text in /wp-content/themes/idstore/code/woo.php file (line 413)
    <?php echo ($title != '') ? $title : 'Categories'; ?>

    Regards,
    Robert Hall.

    Avatar: Tobio
    Tobio
    Participant
    August 1, 2014 at 14:36

    Hi Robert,

    thank you, but you also have to change $title

    function etheme_get_wc_categories_menu($title = 'Kategorie'){
    You can edit this text in /wp-content/themes/idstore/code/woo.php file (line 138)

    But now it works 🙂
    Thank you

    Avatar: Eva
    Eva Kemp
    Support staff
    August 1, 2014 at 14:42

    Hello,

    You’re welcome and thank you for notification.

    Enjoy your work!

    Regards,
    Eva Kemp.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Change Language’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.