Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product Attribute Titles #64

Open
b3sser opened this issue Sep 20, 2022 · 0 comments
Open

Product Attribute Titles #64

b3sser opened this issue Sep 20, 2022 · 0 comments

Comments

@b3sser
Copy link

b3sser commented Sep 20, 2022

This issue is about using Sublanguage in combination with Woocommerce.

Even with Product Attributes activated in Translatability, it is only possible to create translations for the product attribute VALUES, not for the product attribute TITLES.

Example: If I had an attribute "colour", with the options "black", "red" and "green", then I could create translations for "black", "red" and "green", but not for "colour".

From what I understand this is due to the fact that the item__label for product attributes are not stored in the postmeta table, but in a different (and tbh rather ugly) way. (See https://stackoverflow.com/questions/63389088/where-does-woocommerce-store-product-attribute-tittle#:~:text=The%20entire%20attribute's%20value%20is,ID%20with%20the%20term%20ID for details)

It would be really cool if the attribute titles became translatable in a future version. Thanks a lot for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant