Language Part 1


After download translations / language core codeigniter. We will activate and create language.

Update autoload.php in application/config/autoload.php, load library session, load helper language.

Update config_bootstrap.php in application/config/config_bootstrap.php, add language.

Update top.php in application/views/adminlte/backend/_partials/top.php, to show language in top template.

Create MY_Lang.php in application/core/MY_Lang.php

Update config.php in application/config/config.php, line 103, enable hooks.

Create Language_hooks.php in application\hooks\Language_hooks.php

Update hooks.php in application/config/hooks.php, this mean after controller load, we execute Language_hooks.php to load language based on session language.

Create index_lang.php in application/language/english/index_lang.php, this for english.

Create index_lang.php in application/language/indonesian/index_lang.php, this for indonesian language.

Example “Create”, we must replace with

, in example

Don’t forget update all text based on application/language/english/index_lang.php.

Reference :

Previous articleSimple Breadcrumb
Next articlePost Categories


  1. Howdу! Someone in my Myspace group sһared this
    website with us soo I came to check it out. I’m definitely lovіng the informatіon. I’m book-marкing and willl Ьe tweeting this to mmy followers!
    Great boog and superb deѕign and style.

    Review my webpage :: about this game

  2. Nice post. I was checking cօnstantlү this blog aаnd
    Ӏ am impressed! Very helpfuⅼ informatіon particularly the
    last part 🙂 I care foor such infoгmation a lot.
    I was seeking thiiѕ paгticular info for a verү loong time.

    Thank you and good luck.

    my webpage: loss exercise


Please enter your name here
Please enter your comment!