How to access name of taxonomy in English for English & Arabic version of website when using WPML plugin
In below code i am assigning taxonomy in div so that i can assign different class to each group/team where team group could be UI designer, Senior Developer, Team Leads etc.
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 row-cols-xxl-5 <?php echo preg_replace('/s+/', '_', strtolower($taxonomy->name)); ?>">
With above code it add the group/team name as ui_designer
or senior_developer
in English version however it add group/team name in Arabic for Arabic version which is obvious. How can i assign class name in English for Arabic version also
I am not a WP developer i am trying to change this code so that CSS works properly in Arabic version also