This topic has 7 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp
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
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.
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!!!
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.
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.
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
Hello,
You’re welcome and thank you for notification.
Enjoy your work!
Regards,
Eva Kemp.
The issue related to '‘Change Language’' has been successfully resolved, and the topic is now closed for further responses