[eluser]turco[/eluser]
I'm planning to develop a complex multilanguage site. I must split contents in modules, so I'm using Modular Extensions, all works well. Now in trying to integrate ME with URI Language Identifier, but I can't.
I'd like to organize my contents in this way (I wonder if it's right):
Code:
- application
- modules
- home
- controllers
- language
- modules
- views
- articles
- controllers
- language
- modules
- views
- ...
- controllers
- language
- modules
- views
MY_Language.php extends CI_Language, that try to load a language by these two different paths:
Code:
APPPATH.'language/'.$idiom.'/'.$langfile
BASEPATH.'language/'.$idiom.'/'.$langfile
instead of trying to load in the current module directory. Obviously, the system returns an error. Is there a way to integrate these two extensions (or a better way to develop a website like that)?