Welcome Guest, Not a member yet? Register   Sign In
Setting default language in config
#2

Have you copied the appropriate language folders from https://github.com/bcit-ci/codeigniter3-translations into your application/language folder?

Code:
$this->lang->load('error_messages', 'english');
echo $this->lang->line('error1'); // looks in system/language/english/error_messages_lang.php
$this->lang->load('error_messages', 'polish');
echo $this->lang->line('error1'); // looks in application/language/polish/error_messages_lang.php
Reply


Messages In This Thread
Setting default language in config - by JackWhite - 09-06-2016, 04:54 AM
RE: Setting default language in config - by ciadmin - 09-06-2016, 06:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB