Unfortunately, it didn't work - the product title was still translated.
But actually, what I really want is to exclude only the main product description from automatic translation (the long description), while keeping the title and short description translatable.
Can someone please help me find a working solution to exclude only the product description (not the title or short description) from being automatically translated?
The code I shared is just a basic example — you'll need to adapt it to fit your specific requirements. It's meant to illustrate the general concept of what's needed.
Please note that you're asking to modify WPML’s default behavior, which limits the level of detail we can provide.
If you need more tailored assistance, I recommend reaching out to a certified WPML contractor who can help you implement the changes. You can find a list of certified freelancers here: https://wpml.org/contractors/.