CSS after with many lang tag

How to better write this code with three translations? I want to use only one class with three translations instead of three class, my code: .test > li.nav-item:lang(en):nth-child(1):after { …