As with all the projects in this book, we're making use of the language file to serve text to users. This way, you can enable multiple region/multiple language support. Let's create the language file.
Create the /path/to/codeigniter/application/language/english/en_admin_lang.php
file and add the following code to it:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); s// General $lang['system_system_name'] = "Signup"; // nav $lang['nav_home'] = "Home"; // index() $lang['singup_instruction'] = ""; $lang['signup_email'] = "Your Email"; $lang['signup_opt1'] = "Option 1"; $lang['signup_opt2'] = "Option 2"; $lang['signup_unsub'] = "Unsubscribe"; $lang['signup_success'] = "You have signed up"; $lang['signup_error'] = "There was an error in signing up"; $lang['setting_success'] = "Your settings have been amended"; $lang['setting_error'] = "There was an error in amending your settings"; $lang['unsub_success'] = "You have been unsubscribed"; $lang...