As with all the projects in this book, we're making use of the language file to serve text to users. In this way, you can enable multiple region/multiple language support.
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'); // General $lang['system_system_name'] = "Image Share"; // Upload $lang['encode_instruction_1'] = "Upload your image to share it"; $lang['encode_upload_now'] = "Share Now"; $lang['encode_upload_now_success'] = "Your image was uploaded, you can share it with this URL"; $lang['encode_upload_url'] = "Hey look at this, here's your image:"; $lang['encode_upload_mkdir_error'] = "Cannot make temp folder"; $lang['encode_upload_general_error'] = "The Image cannot be saved at this time";