"Archive by category" translate

This topic has 9 replies, 4 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: pedro8
    pedro8
    Participant
    October 6, 2015 at 13:28

    Hello,

    I would like to ask how can I safely translate “Archive by category” and “Category archives” text?
    I tried to find it in theme po file but it is not there.

    What is the best way for translation in order to not affect it after update of theme or wordpress?

    thank you

    BR
    Peter

    8 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 6, 2015 at 13:41

    Hello

    Please read this article about how to translate woocommerce:
    https://docs.woothemes.com/document/woocommerce-localization/. The translation performs same way as it was for our theme using PoEdit.

    Regards,
    Brian Johnson

    Avatar: pedro8
    pedro8
    Participant
    October 6, 2015 at 14:06

    Hi,

    thank you for your answer. However I didnt find those strings located in woocommerce. Moreover I have woocommerce fully translated, so it has to be somewhere else. I just can not find it.

    BR
    Peter

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 6, 2015 at 14:30

    Hello,

    Please show a page where you see those strings and provide us with FTP, WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: pedro8
    pedro8
    Participant
    October 6, 2015 at 14:51

    Hi,

    e.g. http://dios.sk/category/key/. It is related to post categories.

    I also would like to ask how can I change Category template. I would like to change it to see only “excerpt” instead of “full” post. I found this article about it, but in your theme in category.php is only following code `<?php

    get_template_part(‘index’);`

    , so please how can I change it?

    thank you
    BR
    Peter

    Please, contact administrator
    for this information.
    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 6, 2015 at 15:09

    You may find this words and change them manually using text editor for wp-content/woopress/framework/theme-fuctions.php in line 837 and 3175. Please provide us also with ftp user name.

    Regards,
    Brian Johnson

    Avatar: Eva
    Eva Kemp
    Support staff
    October 6, 2015 at 15:09

    Hello,

    You can find the text “Archive by Category” in wp-content/themes/woopress/framework/theme-functions.php in line 3187 and “Category Archives” in the line 849 in the same file.

    To show excerpts of your posts you need use “more” tag for each post:
    https://www.8theme.com/blog/using-read-more-button-on-wordpress-blog/

    Regards,
    Eva Kemp.

    Avatar: pedro8
    pedro8
    Participant
    October 6, 2015 at 16:25

    Hi Eva,

    thank you for great advise regarding more tag. 🙂

    Regarding archive by Category, I change it manually, it is ok now.
    But after the theme update, I will have to do it again, am I right?

    BR
    Peter

    Avatar: Eva
    Eva Kemp
    Support staff
    October 6, 2015 at 16:29

    Hello,

    Yes, you’re right. Or you need create child theme and make changes in there, copy part of the code to child functions.php file to keep it safe after theme update.

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

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