As we all know that the default language generated by gii is English. When we generate gii code we get attribute label in English. But Now When I generate code I want attribute label in spanish in my form. Though I am searching the solution for it. But I was wondering If anyone out there who had already solve it or know about it. I would like to thanks in advance for providing me solution as well as other.