<?php $locale = 'it'; list(,$language) = explode('_', strtolower(str_replace('-', '_', $locale))); echo $language;
You have javascript disabled. You will not be able to edit any code.