How can i pass complete language to a view |
(02-14-2016, 06:53 AM)siburny Wrote: It's easier to use lang helper function - it has access to the full language file without need of poluting view data object. I've read this page, maybe 100 times, but I can't see this code Code: $this->load->helper('language'); after add this code to my controller problem solved. Another question if it's possible i dont want to use php code in my template files. may i user parser for lang files? maybe Code: {lang->lang1} etc.. instead of Code: <?php echo lang("lang1") ?> is this possible? |
Messages In This Thread |
How can i pass complete language to a view - by spider58 - 02-13-2016, 01:02 PM
RE: How can i pass complete language to a view - by siburny - 02-14-2016, 06:53 AM
RE: How can i pass complete language to a view - by spider58 - 02-14-2016, 11:24 AM
RE: How can i pass complete language to a view - by siburny - 02-14-2016, 03:15 PM
|