- Issue created by @Vivek Panicker
- First commit to issue fork.
- Merge request !463Add special handling for Product Variation routes. #3506392 → (Merged) created by MrDaleSmith
- 🇬🇧United Kingdom MrDaleSmith
This is caused by the assumptions we have to make in https://www.drupal.org/project/ai/issues/3498696 📌 RouteSubscriber for automator chain assumes node types Active about the structure of entities' translation routes, so there may well be other modules that cause similar errors. The Mr adds special handling for the commerce variation entity so should resolve this specific instance.
- 🇬🇧United Kingdom MrDaleSmith
@valthebald I'm an idiot and we've both over-engineered the much easier solution that should fix it for all translatable entities.
- 🇧🇬Bulgaria valthebald Sofia
@mrdalesmith: simple and effective! Nice catch, marking RTBC
- 🇮🇳India Vivek Panicker Kolkata
Tested the patch on commerce product and commerce product variation.
Patch looks good. -
marcus_johansson →
committed b46bf75e on 1.0.x authored by
mrdalesmith →
Add special handling for Product Variation routes. #3506392
-
marcus_johansson →
committed b46bf75e on 1.0.x authored by
mrdalesmith →
- 🇧🇬Bulgaria valthebald Sofia
@marcus_johansson can this be merged to 1.1.x as well please?
- 🇮🇳India Vivek Panicker Kolkata
@valthebald @MrDaleSmith Althought this issue has been fixed, but the commerce product variations don't seem to be getting translated.
If you guys have been successful in doing that, can you please point out how you did it.
If not can we create an issue for it and mention it here please? - 🇧🇬Bulgaria valthebald Sofia
@vivek panicker: I tested with core 10.4 and ai 1.0.x, and it worked for me. Can you provide more details about your configuration? Are variation fields marked as translatable with AI? Another place to check is AI translate settings /admin/config/ai/ai-translate, especially entity reference section
-
marcus_johansson →
committed b46bf75e on 1.1.x authored by
mrdalesmith →
Add special handling for Product Variation routes. #3506392
-
marcus_johansson →
committed b46bf75e on 1.1.x authored by
mrdalesmith →