Difference between #8 and #10 of
Setting and maintaining the language in Application (i18n)

Changes

Title unchanged

Setting and maintaining the language in Application (i18n)

Category unchanged

Tutorials

Yii version unchanged

Tags changed

i18n, translation

Content changed

[...]
<?php echo CHtml::dropDownList('_lang', $currentLang, array(
'en_us' => 'English', 'is_is' => 'Icelandic'), array('submit' => '')); ?>
</div>
<?php echo CHtml::endForm(); ?>
```

 
See also
 
------------------
 
- [Here](http://www.yiiframework.com/wiki/208/how-to-use-an-application-behavior-to-maintain-runtime-configuration/ "How to use an application behavior to maintain runtime configuration") is another approach using behaviors.
 
 
Links
 
-----
 
- [Chinese version](http://www.itkuaixun.com/bbs/thread-203-1-1.html "Chinese version")
19 0
29 followers
Viewed: 124 697 times
Version: 1.1
Category: Tutorials
Written by: olafure
Last updated by: Yang He
Created on: Apr 5, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history