Hi Andy,
In which language are you trying to translate? To do that manually go to jigoshop/templates/emails and open the file items.php and change the default text in your appropriate language.
Hi Vasili,
Thank you for your answer.
I´m trying to translate to German.
These changes in items.php will overwritten by a new version of Jigoshop, right? Why are these expressions not translated by the language file?
Hi Andy,
In german it should be translated, could you check in your jigoshop directory if there is a appropriate language files for german? jigoshop/languages and search for files ‘jigoshop-de_DE.mo’ and ‘jigoshop-de_DE.po’
Hi Vasili,
Yes, latest language file is there. I´ve also checked out the translations with poedit and would have contributed an updated file already if these terms were missing. They are included in the file but in the e-mails these terms are not translated.
Hi Andy,
That’s weird. Create in you theme dirctory the following folders jigoshop/templates/emails
and create the file items.php copy and paste the content from items.php file in your new created file, translate the default text in german and save it. Now if you will update jigoshop the changes wont be lost as they will be in your theme directory which overrides jigoshop standard items.php file
Hi Vasili,
I did as you adviced and created a the file in wp-content/themes/jigoshop/templates/emails. That didn´t work so read your post again and figured out you might mean the path wp-content/themes/**my theme**/jigoshop/templates/emails
Right?
Hi Andy,
Yes, it’s right direction:
wp-content/themes/**your-theme**/jigoshop/templates/emails
Sorry if I didn’t explain you well.