eg. I will download languages such as (by the way, I think that only the first of these two, English will be downloaded, the others are ignored):
$this->lang->load('module_messages', 'english');
$this->lang->load('module_messages', 'czech');
But I can only use something like this:
echo $this->lang->line('language_key');
This does not work:
echo $this->lang->line('language_key', 'english');
Any idea how to echo simultaneously translate a language into the same representation, for example:
echo $this->lang->line('language_key', 'english');
echo $this->lang->line('language_key', 'czech');
How to achieve such a goal?
source
share