simplified regexp. Only setting I18n.locale if its a valid locale tag. therefor skipping on stylesheets etc - hopefully
simplified regexp. Only setting I18n.locale if its a valid locale tag. therefor skipping on stylesheets etc - hopefully
hukl/localey