Update SetLocale.php
Update SetLocale.php

Думаю так правильнее, если не массив чтобы тоже захватывало, ато у тебя если локалес не массив, лоигика дальше идет
ddinchev/yii2-starter-kit,CrazyZx3525959/yii2-starter-kit,p0vidl0/yii2-starter-kit,aiddroid/yii2-starter-kit,hysdop/kit,HossainKhademian/Yii2StarterKit,Takauri/yii2-starter-kit,ddinchev/yii2-starter-kit,dhurba87/yii2-starter-kit,phongln/yii2-starter-kit,iiYii/yii2-starter-kit,onebesky/SQL-Change-Management-System,aiddroid/yii2-starter-kit,p0vidl0/yii2-starter-kit,hdushku/yii2-starter-kit,evan70/yii2-starter-kit,Takauri/yii2-starter-kit,HossainKhademian/Yii2StarterKit,timoxeen/yii2-starter-kit,alexsers/yii2-starter-kit,hysdop/kit,scriptius/mayarossa_advanced,akhatnya/testing,vanzhilov/yii2-starter-kit,Wolframcheg/yii2-starter-kit,hezll/tipple-invoice,rzrio/razormind-rzrio-site,Takauri/yii2-starter-kit,XzAeRo/yii2-hybrid-kit,alexsers/yii2-starter-kit,XzAeRo/yii2-hybrid-kit,limmer77/yii2-cms,rzrio/razormind-rzrio-site,p0vidl0/yii2-starter-kit,vanzhilov/yii2-starter-kit,limmer77/yii2-cms,iiYii/yii2-starter-kit,bethrezen/yii2-starter-kit,phongln/yii2-starter-kit,anlu1979work/yii2-starter-kit,hdushku/yii2-starter-kit,Wolframcheg/yii2-starter-kit,CrazyZx3525959/yii2-starter-kit,aiddroid/yii2-starter-kit,hezll/tipple-invoice,HossainKhademian/Yii2StarterKit,rzrio/razormind-rzrio-site,hysdop/kit,torkalas/starter,davidjeddy/zeroforksgiven,rzrio/razormind-rzrio-site,akhatnya/testing,dhurba87/yii2-starter-kit,bethrezen/yii2-starter-kit,phongln/yii2-starter-kit,timoxeen/yii2-starter-kit,evan70/yii2-starter-kit,torkalas/starter,scriptius/mayarossa_advanced,davidjeddy/zeroforksgiven,onebesky/SQL-Change-Management-System,XzAeRo/yii2-hybrid-kit,onebesky/SQL-Change-Management-System,anlu1979work/yii2-starter-kit