I successfully changed the language for my Yii application to portuguese by changing the main.php and adding:
'language'=>'pt',
However strangely when i look at the source of the generated pages at the header this is what i get
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http_//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http_//www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
Also when displaying zii.widgets.grid.CGridView widget i get the pagination messages in english.
What should i do more ?
PS: I changed the : in the URL otherwise i couldn’t post.