leinonen/yii2-hostname-language (packagist): Simple component which helps to configure the app locale based on the hostname
Keywords: i18n|locale|language|hostname|yii2