Unrecognized locale

Hi,

If I display a CGridView having set a language like "jp" (Japan), "cn" (China" or "ge" (Germany) the CGridView throws the following error: Unrecognized locale.

However, it works well with languages like "es" (Spain), "fr" (France), "ru" (Russia) or "it" (Italy).

Why are there languages that don’t work well with CGridView? What’s happening here?

hi

i think that name of files is incorrect.

try ‘ja_jp’ replace ‘ja’, i hope useful.

You are right. I put "ja", "de", "zh" instead of "jp", "ge", "zn" and it worked. You have to put the language code, not the country code