CodeIgniter Forums

Full Version: How to use the 'lang' key in the control file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to use the 'lang' key in the control file
Hi everybody
My system has several different languages, which means I have to send different messages (flashdata sessions) for each language but I can not use the `lang` key in my control file. How can I handle it?

<? php if ($ this-> session-> flashdata ('ok')):?>
                    <alert class = "alert-success fade in widget-inner">
                        <button type = "button" class = "close" data-dismiss = "alert" × </ button>
                        </ php> echo $ this-> session-> flashdata ('ok');?>
                    </ div>
                <? php endif; if ($ this-> session-> flashdata ('hata')):?>
                    <alert class-alert fade in widget-inner ">
                        <button type = "button" class = "close" data-dismiss = "alert" × </ button>
                        <? php echo $ this-> session-> flashdata ('hata');?>
                    </ div>
                <? php endif; echo validation_errors ('
                    <alert class-alert fade in widget-inner ">
                        <button type = "button" class = "close" data-dismiss = "alert" × </ button>
                        <fa> </ i> ',
                    </ div> '); ?
Thanks everyone.