This topic has 9 replies, 4 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp
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
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
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
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.
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
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
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.
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
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.
You must be logged in to reply to this topic.Log in/Sign up