Getting current published language/culture variant in ContentService events
Hi,
I have multi lingual site and it is implemented using language variants.
Is there a way to get which language variant or Culture is published in ContentService events?
ContentService events are implemented in custom component and when I'm trying to get culture using Thread.CurrentThread.CurrentCulture.Name it always gets 'en-Us'.
IContent in event only has properties with all cultures.
Is there a way to get this language variant when in ContentService events?
https://prnt.sc/u0ewfy
Getting current published language/culture variant in ContentService events
Hi,
I have multi lingual site and it is implemented using language variants.
Is there a way to get which language variant or Culture is published in ContentService events?
ContentService events are implemented in custom component and when I'm trying to get culture using Thread.CurrentThread.CurrentCulture.Name it always gets 'en-Us'.
IContent in event only has properties with all cultures.
Is there a way to get this language variant when in ContentService events? https://prnt.sc/u0ewfy
Did you mean in saved and Published Events? you can use PublishedCultures
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.