Only output primary lang in html tag
-
Hi there,
I use versions 1.8.1, my default language is german therefore as far as i know, translate pres fills de-DE into:
<html <?php language_attributes(); ?> class="no-js">
is there any way i can get rid of the region code “-DE” in that case and only output “de”, as my website is targeted towards Austria, Germany and Switzerland. so i don’t want to specify a region. or to i get something wrong here?
Kind Regards,
Paul
- The topic ‘Only output primary lang in html tag’ is closed to new replies.