new here with a question on multilingual support :) |
[eluser]Buso[/eluser]
http://codeignitor.com/user_guide/librar...guage.html http://codeignitor.com/user_guide/helper...elper.html this is what I do: 1) $this->config->set_item('language', $this->session->userdata('language')); // dunno if this is the way to go, but works for me 2) $this->lang->load('menu'); // then I load the lang files that I'm gonna use. 'Menu' for instance 3) echo lang('welcome'); // use the lang helper to fetch your lang vars |
Messages In This Thread |
new here with a question on multilingual support :) - by El Forum - 04-21-2010, 09:08 AM
new here with a question on multilingual support :) - by El Forum - 04-21-2010, 09:43 AM
new here with a question on multilingual support :) - by El Forum - 04-22-2010, 10:12 AM
new here with a question on multilingual support :) - by El Forum - 04-22-2010, 10:53 AM
|