[eluser]Jelmer[/eluser]
I took a quick look and I don't see any reason why one couldn't just instantiate a second instance of the language class and load the second language in there.
Try something like this:
Code:
$this->lang_2 = new CI_Language();
// ...becomes CI_Lang for CI2, MY_Lang/MY_Language if you extended it, or MX_Lang when using Modular Seperation
$this->lang->load('questions', 'english');
$this->lang_2->load('questions', 'dutch');
$text_english = $this->lang->line('test');
$text_dutch = $this->lang_2->line('test');
Just remember that if you're using anything that automaticly displays a language line (like the lang() helper function) it'll only work for the first language.
EDIT, Just a thought: a simpler but bit more messier way would be to use prefixes in you language keys so you can load them both into a single language class instance and use lines like this:
Code:
$this->lang->load('questions', 'english');
$this->lang->load('questions', 'dutch');
$prefix_1 = 'en_';
$prefix_2 = 'nl_';
$text_english = $this->lang->line($prefix_1.'test');
$text_dutch = $this->lang->line($prefix_2.'test');
And your language files would look like this:
Code:
$lang['en_question1'] = 'something';
$lang['en_question2'] = 'something else';