Feature: multi language (VI, EN, JA)
CR: sonh (fake)
This commit is contained in:
@@ -220,4 +220,12 @@ class common extends \yii\db\ActiveRecord {
|
||||
return $str;
|
||||
}
|
||||
|
||||
public static function allLanguage() {
|
||||
return [
|
||||
["icon" => "vi.png", "name" => "vi-VI", "description" => "Tiếng Việt"],
|
||||
["icon" => "en.png", "name" => "en-EN", "description" => "English"],
|
||||
["icon" => "jp.png", "name" => "ja-JA", "description" => "Japanese"]
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user