Problem with woocommerce translation and Ethos

Hi there guys :slight_smile:

I have been stopped from developping my website due to a problem with woocommerce translation and X theme.

Some parts of my-account page are not translated to french (language of my site).
I’ve noticed there are some problems too on my customers emails which receive emails with parts in english and other in french.

At first I thought there was a problem with my translation plugin (loco translate) but yesterday I decided to switch X template to a free template from wordpress and discovered all is perfect.

Could you help me with this please as I need to resolve this for my client and I’m loosing time like crazy with this …

Thanks

Hi there,

Thanks for writing in.

Sure, I’ll check and see what’s causing this issue. Please provide the details where and what texts aren’t translated, then provide your site’s URL, admin and FTP login credentials in a secure note.

I’m not sure about the email’s translation, it’s never part of our theme. Those are part of Woocommerce plugin and email templates are located in their plugin’s directory. Maybe you didn’t translate it properly with specific textdomain. Each textdomain should have their own translation files and language files for Woocommerce plugin are different from X theme. Hence, you should be contacting Woocommerce developer/community too.

Thanks!

Hi there rad and thanks a lot for replying.

Could you please let me know how to create a private note for sending
you my credentials ?

That’s a really annoying problem.

I’ve spent more than 2 days trying to figure out why this is not working.
After all that time I decided to import email templates from woocommerce to my child time and translate them directly
into the php files overwriting text queries, which is not a good solution.

I think this is due to the theme because when I switch to another one all works perfectly.
If you could investigate that would be great.

thanks

Hi there,

What do you mean that when you switch to another theme and it works perfectly? You said you added them to your child theme, hence, switching it to another will disable what you been added so I’m not sure what’s working perfectly. Plus, those email strings belong to Woocommerce textdomain and not in the theme. And if you add those templates to the child theme, you should or may change the textdomain so you can translate them along with the theme. And again, you don’t need to put them in your child theme since you only need them to be translated. You’ll have to use translation plugin or language files and add them to /wp-content/languages/plugins/woocommerce-es_ES.po, /wp-content/languages/plugins/woocommerce-es_ES.mo for plugin translation, and /wp-content/languages/themes/__x__-es_ES.po, /wp-content/languages/themes/__x__-es_ES.mo for theme translation.

Then just replace es_ES with the proper locale you preferred.

You can add your credentials in a secure note, there should be a secure note button under your existing reply :slight_smile:

Thanks!