I have used php function get_locale() which retrives the current locale. If current locale match the language we need (or if it does not match a specific language, if there are only two languages ​​on the site as in the example below) we can add styles css with jquery.

// functions.php
/* 
* Change style css for Hebrew language 
*/
function wp_change_style_hebrew()
{
    if (get_locale() == 'en_GB') {
        // drink tea
    } else {
?>
        <script type="text/javascript">
            jQuery(function($) {

                $(document).ready(function() {

                    if ($(window).width() >= 1200) {
                        $('#menu-main-menu-he .menu-item:last-child').css("margin-right", "30px");

                        $('#menu-main-menu-he li.menu-item').css("text-align", "right");

                        $('.pll-parent-menu-item > a').hover(function() {
                            $('#menu-main-menu-he li.pll-parent-menu-item a').css("justify-content", "flex-end")
                        });
                    }

                    $('.mobile_menu_box .navigation_menu ul.navbar_nav>li .dropdown-btn').css("right", "calc(100% - 40px)");

                    $('#breadcrumbs>span>span:first-child').addClass('he');



                });
            });
        </script>
        <?php
    }
}

add_action('wp_head', 'wp_change_style_hebrew');

Support the project through Monobank

Monobank