Hi,
how can I used the translation method in config/main.php?
If I have a array like
$main = array(
....
'params' => array(
...
'default' => array(
...
'country' => Yii::t('iso_3166', 'DE'),
....
)
)
)
and use
<?php echo Yii::app()->params[‘default’][‘country’]; ?> in a view so I see “DE” and not “Deutschland”
why?!?!?
Thanks