Do me a favor, take a few seconds to have a look at my last project.

Thank you, Lulu

How to change default language in CodeIgniter?

Introduction

The following has been tested on a Cloud9 server with the following versions:

Based on the CodeIgniter tutorial

This page assume that your langage already exists in the CodeIgniter 3 Translations repositories. This example explains how to switch from English to French.

Clone from Git

Clone the repository (outside of your development workspace):

git clone https://github.com/bcit-ci/codeigniter3-translations.git

ln -s ~/codeigniter3-translations/language/french/ ~/workspace/application/language/ 
Update the variable $config['language'] in /application/config/config.php: $config['language'] = 'french';