We have just discovered a bug here, and it is the following:
custom attributes are only being translated when they are used in a variation of the product.
Can you confirm if this is your problem or not?
Yep I have exactly that – the variations are working fine (although I’m not using a custom attribute for that I’m using a standard Woocommerce attribute created via Attributes) but the non-variation custom attributes are being overwritten.
Any idea on timescales?
If you are using WooCommerce global attributes, these are translated like for example categories. Edit one of the terms in the attribute and you will links to add/edit translations.
No the attributes I am having a problem with are custom attributes and the issue is I can’t translate them. Any changes made in the second language are overwritten by the default language when I save.
Sorry, I misunderstood you. I will notify you when we have an update on this.
Thanks, my fault what I said was confusing.
You should find it fixed here in the development version:
http://downloads.wp.xz.cn/plugin/woocommerce-multilingual.zip
You will have to view the translated product at least once for the strings to be registered.
OK I can see that it’s working but I don’t think it’s the right way to do it in my humble opinion.
Would it not be possible to be able to enter the translation on the product page in the same way as the main text for the product. I understand this may not be possible or be far more complex for you but I think for an end user it would be a much better solution.
Requiring end users to go through this additional step is a real pain, I try and “protect” them from string translation but since the custom attributes are free text I don’t think I’m going to be able to in this case.
Thanks for the fix and I’d like to know what you think about those comments.
Dear Bob,
I will add your request to our project management for evaluation.
We will get back to you when we have something.
Thanks!
David
Hi, I have the same exact problem but I must admit I am not able to use (or to understand how to use) the solution you provided.
I have tried to update the plugin with the files of the development version, but I do not see any change and, of course, I am still not able to add translation to the custom attributes.
David (or anyone, in fact), can you please give me more details on how I can get this working..? I really need this to get fixed as soon as possible.
Thank you!
Hi Marc,
It is normal the translated products have the same custom attribute information as the original product.
Custom attributes are translated from the String Translation module instead.
Let me know if you still have problems.
David
Marc,
View the translated version of your product in the front end then go to the String Translation Module and you’ll find the custom attribute for that product there ready for translation.
(Naturally if that’s wrong David please correct me.)
Correct. In the end, you dont need to edit the translated product at all, just to change the title, description,etc but not the attributes or variations