Welcome Guest, Not a member yet? Register   Sign In
load language (HMVC)!
#1

[eluser]Ngua Go[/eluser]
I used HMVC !
I have language, url: modules/news/language/english/news_lang.php
on controller of 'shop module' i write:

Code:
$this->load->language('news', 'english');

but it don't load language, i see file: third_party/MX/Loader.php (line 108)
Code:
return CI::$APP->lang->load($langfile, $lang, $return, $this->_module);
see file: system/core/lang.php (line 52)
Code:
function load($langfile = '', $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '')
I realize: Param $this->_module on CI::$APP->lang->load() not be known by function load()
There may be confusion ! I want call language from other modules! Please Help me !
Sorry for bad English !


Messages In This Thread
load language (HMVC)! - by El Forum - 09-19-2010, 06:07 AM
load language (HMVC)! - by El Forum - 09-19-2010, 06:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB