
Oh man so you are manually altering the global lang values in the function.
sorry this was only an test to make the lang value dynamic, to have the tickets in german L2 globally as long as the wordpress page is set to german but this still doesnt work. please see image attached.when i embed the Tickets in L2 Mode, the translations are shown in L2 on:
https://kids-culture.de/preview/de/activities/au-fil-des-genres-2/but when i then add the product to the cart and after that go to the cart page the translations are shown back in L1 even though the woocommerce language is still in German/L2:
https://kids-culture.de/preview/de/kids-culture-shop/cart/I know you does not support custom codes but this language situation depends on this project. it would be great if you can take a look on that. i have changed:
/kids-culture.de/preview/wp-content/plugins/eventon-tickets/includes/class-integration-woocommerce.php
with the following code:
Thank You !
Best regards
Sammy.